[AAE-1360] Remove DELETED status from process instances filter dropdown (#5423)

* remove not needed status

* fix unit

* Update app.config.json
This commit is contained in:
Eugenio Romano
2020-01-29 20:52:48 +00:00
committed by GitHub
parent 5d28a162c2
commit c9d16dc9ca
3 changed files with 2 additions and 4 deletions

View File

@@ -259,7 +259,7 @@ describe('EditProcessFilterCloudComponent', () => {
fixture.detectChanges(); fixture.detectChanges();
fixture.whenStable().then(() => { fixture.whenStable().then(() => {
const statusOptions = fixture.debugElement.queryAll(By.css('.mat-option-text')); const statusOptions = fixture.debugElement.queryAll(By.css('.mat-option-text'));
expect(statusOptions.length).toEqual(6); expect(statusOptions.length).toEqual(5);
}); });
})); }));

View File

@@ -98,8 +98,7 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes
{ label: 'RUNNING', value: 'RUNNING' }, { label: 'RUNNING', value: 'RUNNING' },
{ label: 'SUSPENDED', value: 'SUSPENDED' }, { label: 'SUSPENDED', value: 'SUSPENDED' },
{ label: 'CANCELLED', value: 'CANCELLED' }, { label: 'CANCELLED', value: 'CANCELLED' },
{ label: 'COMPLETED', value: 'COMPLETED' }, { label: 'COMPLETED', value: 'COMPLETED' }
{ label: 'DELETED', value: 'DELETED' }
]; ];
directions = [{ label: 'ASC', value: 'ASC' }, { label: 'DESC', value: 'DESC' }]; directions = [{ label: 'ASC', value: 'ASC' }, { label: 'DESC', value: 'DESC' }];

View File

@@ -52,7 +52,6 @@ export interface StartTaskCloudResponseModel {
export type TaskStatus = | export type TaskStatus = |
'COMPLETED' | 'COMPLETED' |
'DELETED' |
'CREATED' | 'CREATED' |
'ASSIGNED' | 'ASSIGNED' |
'SUSPENDED' | 'SUSPENDED' |