diff --git a/lib/content-services/src/lib/content-node-selector/content-node-dialog.service.ts b/lib/content-services/src/lib/content-node-selector/content-node-dialog.service.ts index 6e3e8fd796..abd4323abf 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-dialog.service.ts +++ b/lib/content-services/src/lib/content-node-selector/content-node-dialog.service.ts @@ -140,7 +140,6 @@ export class ContentNodeDialogService { const data: ContentNodeSelectorComponentData = { title: this.getTitleTranslation(action, contentEntry.name), actionName: action, - selectionMode: 'single', currentFolderId: contentEntry.parentId, imageResolver: this.imageResolver.bind(this), where: '(isFolder=true)', @@ -183,7 +182,6 @@ export class ContentNodeDialogService { const data: ContentNodeSelectorComponentData = { title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')), actionName: action, - selectionMode: 'single', currentFolderId: contentEntry.id, imageResolver: this.imageResolver.bind(this), isSelectionValid: this.hasAllowableOperationsOnNodeFolder.bind(this), @@ -211,7 +209,6 @@ export class ContentNodeDialogService { const data: ContentNodeSelectorComponentData = { title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')), actionName: action, - selectionMode: 'single', currentFolderId: contentEntry.id, imageResolver: this.imageResolver.bind(this), isSelectionValid: (entry: Node) => entry.isFile, diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector.component-data.interface.ts b/lib/content-services/src/lib/content-node-selector/content-node-selector.component-data.interface.ts index bd15647b3a..b59c7c6569 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-selector.component-data.interface.ts +++ b/lib/content-services/src/lib/content-node-selector/content-node-selector.component-data.interface.ts @@ -27,7 +27,7 @@ export interface ContentNodeSelectorComponentData { rowFilter?: any; where?: string; imageResolver?: any; - selectionMode: string; + selectionMode?: string; isSelectionValid?: (entry: Node) => boolean; breadcrumbTransform?: (node) => any; excludeSiteContent?: string[];