mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ACA-4262] Content node selector - show 2 tabs only in cloud attach file widget (#6578)
This commit is contained in:
@@ -137,4 +137,13 @@ export class ContentNodeSelectorComponent implements OnInit {
|
||||
isLocalUploadTabSelected (): boolean {
|
||||
return this.selectedTabIndex === 1;
|
||||
}
|
||||
|
||||
isUploadEnabled(): boolean {
|
||||
return this.canPerformLocalUpload() && this.isLocalUploadTabSelected();
|
||||
}
|
||||
|
||||
canPerformLocalUpload(): boolean {
|
||||
return this.data?.showLocalUploadButton;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user