Skip to content
Snippets Groups Projects
Commit 992d5eae authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #10252 TIME 0:15 Can go to documentDetail page if document is locked

parent 96cb8fe1
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ export class ActionsService {
this.lockMode = lockRes;
this.setResourceInformations(datas);
if (this.lockMode) {
if (action.component == 'viewDoc') {
if (action.component == 'viewDoc' || action.component == 'documentDetails') {
this[action.component](action.data);
} else {
this.http.put(`../../rest/resourcesList/users/${userId}/groups/${groupId}/baskets/${basketId}/lock`, { resources: resIds }).pipe(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment