From 1f60d147bcf795e92dbc471274add94cbc7a1cc4 Mon Sep 17 00:00:00 2001 From: eromano Date: Fri, 4 Mar 2022 11:27:50 +0000 Subject: [PATCH] fix demo shell Signed-off-by: eromano --- demo-shell/src/app/components/files/files.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/demo-shell/src/app/components/files/files.component.ts b/demo-shell/src/app/components/files/files.component.ts index 98199965c5..ea1caaf128 100644 --- a/demo-shell/src/app/components/files/files.component.ts +++ b/demo-shell/src/app/components/files/files.component.ts @@ -38,7 +38,7 @@ import { LibraryDialogComponent, ContentMetadataService, FilterSearch, - AspectListService + AspectListService, DialogAspectListService } from '@alfresco/adf-content-services'; import { SelectAppsDialogComponent, ProcessFormRenderingService } from '@alfresco/adf-process-services'; @@ -234,6 +234,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { private contentMetadataService: ContentMetadataService, private sharedLinksApiService: SharedLinksApiService, private aspectListService: AspectListService, + private dialogAspectListService: DialogAspectListService, private nodeService: NodesApiService) { } @@ -474,7 +475,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { } onAspectUpdate(event: any) { - this.aspectListService.openAspectListDialog(event.value.entry.id).subscribe((aspectList) => { + this.dialogAspectListService.openAspectListDialog(event.value.entry.id).subscribe((aspectList) => { this.nodeService.updateNode(event.value.entry.id, {aspectNames : [...aspectList]}).subscribe(() => { this.openSnackMessageInfo('Node Aspects Updated'); });