mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ADF-5354] Content node selector is not working properly for read-only folders (#6777)
* disable button when no permission * test * breadcrumb fallback when selection is not valid * test
This commit is contained in:
@@ -109,7 +109,7 @@ export class ContentNodeSelectorComponent implements OnInit {
|
||||
}
|
||||
|
||||
isChooseButtonDisabled(): boolean {
|
||||
return this.uploadService.isUploading() || !this.hasNodeSelected();
|
||||
return this.uploadService.isUploading() || !this.hasNodeSelected() || this.hasNoPermissionToUpload();
|
||||
}
|
||||
|
||||
hasNodeSelected(): boolean {
|
||||
|
Reference in New Issue
Block a user