From c9c54cb1abd5a37a44736f72d812b265a2e99ba3 Mon Sep 17 00:00:00 2001 From: pgiertych <pgiertych@man.poznan.pl> Date: Tue, 7 Nov 2023 10:05:44 +0100 Subject: [PATCH] allow state change from new to deleted --- .../app-change-state-modal/appchangestatemodal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts b/src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts index ce14a9b6..4f3d7d9c 100644 --- a/src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts +++ b/src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts @@ -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]; -- GitLab