Skip to content
Snippets Groups Projects
Unverified Commit 323a9733 authored by Łukasz Łopatowski's avatar Łukasz Łopatowski Committed by GitHub
Browse files

Merge pull request #148 from nmaas-platform/139-add-application-removal-button

allow state change from new to deleted
parents ce33f91f c9c54cb1
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ export class AppChangeStateModalComponent implements OnInit, OnChanges { ...@@ -42,7 +42,7 @@ export class AppChangeStateModalComponent implements OnInit, OnChanges {
private filterStates(): void { private filterStates(): void {
switch (this.getStateAsString(this.app.state)) { switch (this.getStateAsString(this.app.state)) {
case this.getStateAsString(ApplicationState.NEW): case this.getStateAsString(ApplicationState.NEW):
this.stateList = [ApplicationState.ACTIVE, ApplicationState.REJECTED]; this.stateList = [ApplicationState.ACTIVE, ApplicationState.REJECTED, ApplicationState.DELETED];
break; break;
case this.getStateAsString(ApplicationState.ACTIVE): case this.getStateAsString(ApplicationState.ACTIVE):
this.stateList = [ApplicationState.DISABLED, ApplicationState.DELETED]; 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