Skip to content

Commit

Permalink
[ACS-5540] fixed file lock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasa-Nataliya committed Sep 8, 2023
1 parent 84a9154 commit a557d03
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ import { Actions, ofType } from '@ngrx/effects';
[displayTags]="displayTags"
[displayCategories]="displayCategories"
[(editable)]="editable"
[(editableTags)]="editableTags"
[(editableCategories)]="editableCategories"
>
</adf-content-metadata>
`,
Expand All @@ -70,6 +72,8 @@ export class MetadataTabComponent implements OnInit, OnDestroy {
displayAspect$: Observable<string>;
canUpdateNode = false;
editable = false;
editableTags = false;
editableCategories = false;

constructor(
private permission: NodePermissionService,
Expand Down Expand Up @@ -101,6 +105,8 @@ export class MetadataTabComponent implements OnInit, OnDestroy {
this.checkIfNodeIsUpdatable(updatedNode?.payload.entry);
if (!this.canUpdateNode) {
this.editable = false;
this.editableTags = false;
this.editableCategories = false;
}
});
}
Expand Down

0 comments on commit a557d03

Please sign in to comment.