mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
[ACS-5540] fixed file lock issue
This commit is contained in:
@@ -47,6 +47,8 @@ import { Actions, ofType } from '@ngrx/effects';
|
|||||||
[displayTags]="displayTags"
|
[displayTags]="displayTags"
|
||||||
[displayCategories]="displayCategories"
|
[displayCategories]="displayCategories"
|
||||||
[(editable)]="editable"
|
[(editable)]="editable"
|
||||||
|
[(editableTags)]="editableTags"
|
||||||
|
[(editableCategories)]="editableCategories"
|
||||||
>
|
>
|
||||||
</adf-content-metadata>
|
</adf-content-metadata>
|
||||||
`,
|
`,
|
||||||
@@ -70,6 +72,8 @@ export class MetadataTabComponent implements OnInit, OnDestroy {
|
|||||||
displayAspect$: Observable<string>;
|
displayAspect$: Observable<string>;
|
||||||
canUpdateNode = false;
|
canUpdateNode = false;
|
||||||
editable = false;
|
editable = false;
|
||||||
|
editableTags = false;
|
||||||
|
editableCategories = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private permission: NodePermissionService,
|
private permission: NodePermissionService,
|
||||||
@@ -101,6 +105,8 @@ export class MetadataTabComponent implements OnInit, OnDestroy {
|
|||||||
this.checkIfNodeIsUpdatable(updatedNode?.payload.entry);
|
this.checkIfNodeIsUpdatable(updatedNode?.payload.entry);
|
||||||
if (!this.canUpdateNode) {
|
if (!this.canUpdateNode) {
|
||||||
this.editable = false;
|
this.editable = false;
|
||||||
|
this.editableTags = false;
|
||||||
|
this.editableCategories = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user