mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-26 23:09:46 +02:00
optionally set loaded
This commit is contained in:
parent
c2bdabc098
commit
2782ae33fc
|
@ -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…
Reference in New Issue
Block a user