diff --git a/apps/web/src/app/workspaces/components/active-capability-requests/active-capability-requests.component.ts b/apps/web/src/app/workspaces/components/active-capability-requests/active-capability-requests.component.ts index 6cc402285fd81a1adde716cb3661c1d3d8079c4b..92f8da1e7b926e313ad130ceb6e1dfd59db7dea5 100644 --- a/apps/web/src/app/workspaces/components/active-capability-requests/active-capability-requests.component.ts +++ b/apps/web/src/app/workspaces/components/active-capability-requests/active-capability-requests.component.ts @@ -80,6 +80,7 @@ export class ActiveCapabilityRequestsComponent implements OnInit, OnDestroy { private paramsObj: any; private filters: any; public showFilterMenu = false; + private notSubmittedState = "Latest version has not been submitted"; private newParams: Params; private filterSets = {}; private availableFilters: any; @@ -125,10 +126,18 @@ export class ActiveCapabilityRequestsComponent implements OnInit, OnDestroy { {"name":"Failed"}, ] public execStatusToFilter = [ + {"name":"Not submitted", "filter_val":this.notSubmittedState}, + {"name":"Start", "filter_val":"Start"}, {"name":"Queued", "filter_val":"Queued"}, {"name":"Executing", "filter_val":"Executing"}, + {"name":"Ingesting", "filter_val":"Ingesting"}, + {"name":"Awaiting QA", "filter_val":"Awaiting QA"}, + {"name":"Stage 2 Review", "filter_val":"Stage 2 Review"}, + {"name":"QA Closed", "filter_val":"QA Closed"}, + {"name":"Failed", "filter_val":"Failed"}, {"name":"Error", "filter_val":"Error"}, - {"name":"latest version has not been submitted", "filter_val":"latest version has not been submitted"}, + {"name":"Cancelled", "filter_val":"Cancelled"}, + {"name":"Complete", "filter_val":"Complete"}, ] public srdpOptions = [ {"name":"true"}, @@ -514,7 +523,7 @@ export class ActiveCapabilityRequestsComponent implements OnInit, OnDestroy { } if (request.state === 'Created' || (request.state === 'Submitted' && request.versions[request.versions.length - 1].state === 'Created')) { - statusName = "Latest version has not been submitted"; + statusName = this.notSubmittedState; } return statusName;