[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:
Thomas Hunter
2021-02-12 12:20:06 +01:00
committed by GitHub
parent e1fee70cdc
commit 43ed8d7924
3 changed files with 23 additions and 10 deletions

View File

@@ -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() {