Skip to content
Snippets Groups Projects
Commit b0d1599e authored by kbeyro's avatar kbeyro
Browse files

fix logic

parent 7d220116
No related branches found
No related tags found
1 merge request!21fix logic
......@@ -120,7 +120,7 @@ export class AppManagementListComponent implements OnInit {
}
public openRemovalModal(app: ApplicationBase): void {
if(app.versions.find(version => version.state === ApplicationState.DELETED)) {
if(app.versions.find(version => version.state !== ApplicationState.DELETED)) {
this.hasRunningInstances = true;
}
this.appToRemove = app;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment