* Made selectMode optioanl on contentNodeSelectorInterface (#5921)

This commit is contained in:
siva kumar
2020-07-28 18:05:31 +05:30
committed by GitHub
parent b331c1422d
commit efc6432d1c
2 changed files with 1 additions and 4 deletions

View File

@@ -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,