Browse Source

optionally set loaded

pull/3/head
Kyle Spearrin 8 years ago
parent
commit
2782ae33fc
  1. 7
      src/angular/components/groupings.component.ts

7
src/angular/components/groupings.component.ts

@ -35,10 +35,13 @@ export class GroupingsComponent { @@ -35,10 +35,13 @@ export class GroupingsComponent {
constructor(protected collectionService: CollectionService, protected folderService: FolderService) { }
async load() {
async load(setLoaded = true) {
await this.loadFolders();
await this.loadCollections();
this.loaded = true;
if (setLoaded) {
this.loaded = true;
}
}
async loadCollections() {

Loading…
Cancel
Save