mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645] added group panel lock changes
This commit is contained in:
committed by
Anukriti Singh
parent
52b7d321e7
commit
caeeec1382
+1
-1
@@ -248,7 +248,6 @@ export class ContentMetadataComponent implements OnChanges, OnInit, OnDestroy {
|
||||
hasAllowableOperations = false;
|
||||
editableGroup: CardViewGroup;
|
||||
buttonType = ButtonType;
|
||||
group: CardViewGroup;
|
||||
|
||||
constructor(
|
||||
private contentMetadataService: ContentMetadataService,
|
||||
@@ -469,6 +468,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user