[AAE-4483] Add empty list drag and drop template in upload from local tab (#6916)

This commit is contained in:
arditdomi
2021-04-12 10:31:52 +01:00
committed by GitHub
parent 3aea68b358
commit 291e224ad4
4 changed files with 62 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ export class ContentNodeSelectorComponent implements OnInit {
hasAllowableOperations = false;
isLoading = true;
selectedTabIndex: number = 0;
uploadStarted: boolean = false;
emptyFolderImageUrl: string = '../assets/images/empty_doc_lib.svg';
breadcrumbFolderNode: Node;
constructor(private translation: TranslationService,
@@ -66,6 +69,10 @@ export class ContentNodeSelectorComponent implements OnInit {
this.dialog.backdropClick().subscribe(() => {
this.close();
});
this.uploadService.fileUploadStarting.subscribe(() => {
this.uploadStarted = true;
});
}
close() {