From b9a7425047b511faf16a4fded9f0849e35c8309c Mon Sep 17 00:00:00 2001 From: Yasa-Nataliya Date: Fri, 22 Sep 2023 14:59:04 +0530 Subject: [PATCH] [ACS-5645] Modified the changes --- .../content-metadata/content-metadata.component.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts index 9a40ed1a4d..112fc135c7 100644 --- a/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts +++ b/lib/content-services/src/lib/content-metadata/components/content-metadata/content-metadata.component.ts @@ -208,19 +208,12 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { @Output() editableCategoriesChange = new EventEmitter(); - /** Emitted when content's group state is changed. **/ - @Output() - groupChange = new EventEmitter(); - @Input() editableCategories = false; @Input() editableTags = false; - @Input() - group: CardViewGroup; - private _assignedTags: string[] = []; private assignedTagsEntries: TagEntry[] = []; private _editable = false; @@ -248,6 +241,7 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy { hasAllowableOperations = false; editableGroup: CardViewGroup; buttonType = ButtonType; + group: CardViewGroup; constructor( private contentMetadataService: ContentMetadataService, @@ -468,7 +462,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;