[ACA-1169] Default location of the copy/move file is not displayed (#211)

fix for https://issues.alfresco.com/jira/browse/ACA-1169
This commit is contained in:
suzanadirla 2018-03-02 13:14:01 +02:00 committed by GitHub
parent 14c9995915
commit 267ba27635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ export class NodeActionsService {
return !notAllowedNode; return !notAllowedNode;
} }
getEntryParentId(nodeEntry: any) { getEntryParentId(nodeEntry: MinimalNodeEntryEntity) {
let entryParentId = ''; let entryParentId = '';
if (nodeEntry.parentId) { if (nodeEntry.parentId) {
@ -159,7 +159,7 @@ export class NodeActionsService {
} }
getContentNodeSelection(action: string, contentEntities: MinimalNodeEntity[]): Subject<MinimalNodeEntryEntity[]> { getContentNodeSelection(action: string, contentEntities: MinimalNodeEntity[]): Subject<MinimalNodeEntryEntity[]> {
const currentParentFolderId = this.getEntryParentId(contentEntities[0]); const currentParentFolderId = this.getEntryParentId(contentEntities[0].entry);
const customDropdown: SitePaging = { const customDropdown: SitePaging = {
list: { list: {