Commit 992d5eae authored by Florian Azizian's avatar Florian Azizian

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

parent 96cb8fe1
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment