mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-4429] Add readOnly breadcrumb to upload from device tab (#6664)
* [AAE-4429] Add readOnly breadcrumb to upload from device tab * [AAE-4429] Added unit tests * [AAE-4429] Moved unit tests * [AAE-4429] Removed breadcrumb title
This commit is contained in:
@@ -39,6 +39,7 @@ export class ContentNodeSelectorComponent implements OnInit {
|
||||
hasAllowableOperations = false;
|
||||
isLoading = true;
|
||||
selectedTabIndex: number = 0;
|
||||
breadcrumbFolderNode: Node;
|
||||
|
||||
constructor(private translation: TranslationService,
|
||||
private contentService: ContentService,
|
||||
@@ -116,6 +117,7 @@ export class ContentNodeSelectorComponent implements OnInit {
|
||||
|
||||
onCurrentFolder(currentFolder: Node) {
|
||||
this.hasAllowableOperations = this.contentService.hasAllowableOperations(currentFolder, AllowableOperationsEnum.CREATE);
|
||||
this.breadcrumbFolderNode = currentFolder;
|
||||
}
|
||||
|
||||
isNotAllowedToUpload() {
|
||||
|
Reference in New Issue
Block a user