Skip to content
Snippets Groups Projects
Commit 7b446b92 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix lock

parent b2bd3b82
No related branches found
No related tags found
No related merge requests found
...@@ -272,9 +272,13 @@ export class ActionsService implements OnDestroy { ...@@ -272,9 +272,13 @@ export class ActionsService implements OnDestroy {
} }
unlockResourceAfterActionModal(resIds: any) { unlockResourceAfterActionModal(resIds: any) {
if (this.functions.empty(resIds) && this.lockMode) { if (this.lockMode) {
this.stopRefreshResourceLock(); this.stopRefreshResourceLock();
this.unlockResource();
// Cancel action modal
if (this.functions.empty(resIds)) {
this.unlockResource();
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment