diff --git a/projects/aca-content/src/lib/components/info-drawer/metadata-tab/metadata-tab.component.ts b/projects/aca-content/src/lib/components/info-drawer/metadata-tab/metadata-tab.component.ts index f0fa0c66c4..1b4382e9bb 100644 --- a/projects/aca-content/src/lib/components/info-drawer/metadata-tab/metadata-tab.component.ts +++ b/projects/aca-content/src/lib/components/info-drawer/metadata-tab/metadata-tab.component.ts @@ -47,6 +47,8 @@ import { Actions, ofType } from '@ngrx/effects'; [displayTags]="displayTags" [displayCategories]="displayCategories" [(editable)]="editable" + [(editableTags)]="editableTags" + [(editableCategories)]="editableCategories" > `, @@ -70,6 +72,8 @@ export class MetadataTabComponent implements OnInit, OnDestroy { displayAspect$: Observable; canUpdateNode = false; editable = false; + editableTags = false; + editableCategories = false; constructor( private permission: NodePermissionService, @@ -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; } }); }