[ACS-5645] fixed lock-file bug

This commit is contained in:
Yasa-Nataliya
2023-10-13 16:20:27 +05:30
committed by Anukriti Singh
parent 24cbdb1ae9
commit 46b6e1c44b
@@ -147,12 +147,19 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
@Output()
editableCategoriesChange = new EventEmitter<boolean>();
/** Emitted when content's group state is changed. **/
@Output()
groupChange = new EventEmitter<CardViewGroup>();
@Input()
editableCategories = false;
@Input()
editableTags = false;
@Input()
group: CardViewGroup;
private _assignedTags: string[] = [];
private assignedTagsEntries: TagEntry[] = [];
private _editable = false;
@@ -180,7 +187,6 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
hasAllowableOperations = false;
editableGroup: CardViewGroup;
buttonType = ButtonType;
group: CardViewGroup;
constructor(
private contentMetadataService: ContentMetadataService,
@@ -404,6 +410,7 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
case ButtonType.Group:
group.editable = !group.editable;
this.groupChange.emit(group);
this.editableGroup = group.editable ? group : null;
if (group.editable) {
group.expanded = true;