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: {