[ACS-5645] Modified the changes

This commit is contained in:
Yasa-Nataliya
2023-10-13 16:29:16 +05:30
committed by Anukriti Singh
parent 70b54213fd
commit 52b7d321e7
@@ -248,6 +248,7 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
hasAllowableOperations = false;
editableGroup: CardViewGroup;
buttonType = ButtonType;
group: CardViewGroup;
constructor(
private contentMetadataService: ContentMetadataService,
@@ -468,7 +469,6 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
break;
case ButtonType.Group:
group.editable = !group.editable;
this.groupChange.emit(group);
this.editableGroup = group.editable ? group : null;
if (group.editable) {
group.expanded = true;