From 267ba27635e66308a19ec876a5b6b9af65cebad6 Mon Sep 17 00:00:00 2001 From: suzanadirla Date: Fri, 2 Mar 2018 13:14:01 +0200 Subject: [PATCH] [ACA-1169] Default location of the copy/move file is not displayed (#211) fix for https://issues.alfresco.com/jira/browse/ACA-1169 --- src/app/common/services/node-actions.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/common/services/node-actions.service.ts b/src/app/common/services/node-actions.service.ts index 2c8355c7e..2b1aa82f0 100644 --- a/src/app/common/services/node-actions.service.ts +++ b/src/app/common/services/node-actions.service.ts @@ -145,7 +145,7 @@ export class NodeActionsService { return !notAllowedNode; } - getEntryParentId(nodeEntry: any) { + getEntryParentId(nodeEntry: MinimalNodeEntryEntity) { let entryParentId = ''; if (nodeEntry.parentId) { @@ -159,7 +159,7 @@ export class NodeActionsService { } getContentNodeSelection(action: string, contentEntities: MinimalNodeEntity[]): Subject { - const currentParentFolderId = this.getEntryParentId(contentEntities[0]); + const currentParentFolderId = this.getEntryParentId(contentEntities[0].entry); const customDropdown: SitePaging = { list: {