[ADF-2367] [Demo shell] Fix default site (#3004)

* fix default site scenario

* add default my files object in the list
This commit is contained in:
Eugenio Romano
2018-02-27 10:13:38 +00:00
committed by Vito
parent 0a266bebdc
commit 876ce7b9ae
6 changed files with 72 additions and 74 deletions

View File

@@ -365,8 +365,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
}
getSiteContent(site: SiteEntry) {
this.currentFolderId = site && site.entry.guid ? site.entry.guid : DEFAULT_FOLDER_TO_SHOW;
onSiteChange(site: SiteEntry) {
this.currentFolderId = site.entry.guid;
}
getDocumentListCurrentFolderId() {