diff --git a/src/frontend/app/signature-book.component.ts b/src/frontend/app/signature-book.component.ts index 73a2ca57ba31f4df7c76463575b229bb80e81273..7a97170a48a00029f67b99eb76ac6d63db0de812 100755 --- a/src/frontend/app/signature-book.component.ts +++ b/src/frontend/app/signature-book.component.ts @@ -460,7 +460,9 @@ export class SignatureBookComponent implements OnInit, OnDestroy { if (data === true) { this.actionService.stopRefreshResourceLock(); - this.actionService.unlockResource(this.userId, this.groupId, this.basketId, [this.resId]); + if (!this.actionService.actionEnded) { + this.actionService.unlockResource(this.userId, this.groupId, this.basketId, [this.resId]); + } const path = 'signatureBook/users/' + this.userId + '/groups/' + this.groupId + '/baskets/' + this.basketId + '/resources/' + resId; this.router.navigate([path]); } else {