Skip to content
Snippets Groups Projects
Commit c9c54cb1 authored by pgiertych's avatar pgiertych
Browse files

allow state change from new to deleted

parent ed5cb9e6
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ export class AppChangeStateModalComponent implements OnInit, OnChanges {
private filterStates(): void {
switch (this.getStateAsString(this.app.state)) {
case this.getStateAsString(ApplicationState.NEW):
this.stateList = [ApplicationState.ACTIVE, ApplicationState.REJECTED];
this.stateList = [ApplicationState.ACTIVE, ApplicationState.REJECTED, ApplicationState.DELETED];
break;
case this.getStateAsString(ApplicationState.ACTIVE):
this.stateList = [ApplicationState.DISABLED, ApplicationState.DELETED];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment