mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-1097] Selecting node on document picker fails (#184)
* [ACA-1097] Selecting node on document picker fails fixed bug * upgrade to ADF 2.1.0 (#182)
This commit is contained in:
parent
19d6a65eff
commit
f2cb478c1f
@ -207,6 +207,7 @@ export class NodeActionsService {
|
||||
dropdownSiteList: customDropdown,
|
||||
rowFilter: this.rowFilter.bind(this),
|
||||
imageResolver: this.imageResolver.bind(this),
|
||||
isSelectionValid: this.hasEntityCreatePermission.bind(this),
|
||||
select: new Subject<MinimalNodeEntryEntity[]>()
|
||||
};
|
||||
|
||||
@ -237,6 +238,10 @@ export class NodeActionsService {
|
||||
return data.select;
|
||||
}
|
||||
|
||||
private hasEntityCreatePermission(entry: MinimalNodeEntryEntity): boolean {
|
||||
return this.contentService.hasPermission(entry, 'create');
|
||||
}
|
||||
|
||||
close() {
|
||||
this.dialog.closeAll();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user