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,
|
dropdownSiteList: customDropdown,
|
||||||
rowFilter: this.rowFilter.bind(this),
|
rowFilter: this.rowFilter.bind(this),
|
||||||
imageResolver: this.imageResolver.bind(this),
|
imageResolver: this.imageResolver.bind(this),
|
||||||
|
isSelectionValid: this.hasEntityCreatePermission.bind(this),
|
||||||
select: new Subject<MinimalNodeEntryEntity[]>()
|
select: new Subject<MinimalNodeEntryEntity[]>()
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -237,6 +238,10 @@ export class NodeActionsService {
|
|||||||
return data.select;
|
return data.select;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private hasEntityCreatePermission(entry: MinimalNodeEntryEntity): boolean {
|
||||||
|
return this.contentService.hasPermission(entry, 'create');
|
||||||
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialog.closeAll();
|
this.dialog.closeAll();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user