mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1008] Customize the dropdown on copy/move destination picker from node-actions.service (#112)
This commit is contained in:
@@ -176,12 +176,17 @@ export class NodeActionsService {
|
|||||||
const data: ContentNodeSelectorComponentData = {
|
const data: ContentNodeSelectorComponentData = {
|
||||||
title: `${action} ${nodeEntryName}to ...`,
|
title: `${action} ${nodeEntryName}to ...`,
|
||||||
currentFolderId: currentParentFolderId,
|
currentFolderId: currentParentFolderId,
|
||||||
|
actionName: action,
|
||||||
|
dropdownHideMyFiles: true,
|
||||||
|
dropdownSiteList: [
|
||||||
|
{title: 'APP.BROWSE.PERSONAL.SIDENAV_LINK.LABEL', guid: '-my-'},
|
||||||
|
{title: 'APP.BROWSE.LIBRARIES.SIDENAV_LINK.LABEL', guid: '-mysites-'}],
|
||||||
rowFilter: this.rowFilter.bind(this),
|
rowFilter: this.rowFilter.bind(this),
|
||||||
imageResolver: this.imageResolver.bind(this),
|
imageResolver: this.imageResolver.bind(this),
|
||||||
select: new EventEmitter<MinimalNodeEntryEntity[]>()
|
select: new EventEmitter<MinimalNodeEntryEntity[]>()
|
||||||
};
|
};
|
||||||
|
|
||||||
this.dialog.open(ContentNodeSelectorComponent, {
|
this.dialog.open(ContentNodeSelectorComponent, <any>{
|
||||||
data,
|
data,
|
||||||
panelClass: 'adf-content-node-selector-dialog',
|
panelClass: 'adf-content-node-selector-dialog',
|
||||||
width: '630px'
|
width: '630px'
|
||||||
|
Reference in New Issue
Block a user