diff --git a/jslib b/jslib index 6aba4550a4..b0eea9d7ce 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 6aba4550a4b1e643528392d6305df00977046232 +Subproject commit b0eea9d7cefdc5453750f49985689fefa1fa53a5 diff --git a/src/app/organizations/vault/groupings.component.ts b/src/app/organizations/vault/groupings.component.ts index 3be2e453f6..60622d8b8f 100644 --- a/src/app/organizations/vault/groupings.component.ts +++ b/src/app/organizations/vault/groupings.component.ts @@ -50,5 +50,9 @@ export class GroupingsComponent extends BaseGroupingsComponent { unassignedCollection.organizationId = this.organization.id; unassignedCollection.readOnly = true; this.collections.push(unassignedCollection); + + if (this.loadNestedCollections) { + this.nestedCollections = await this.collectionService.getAllNested(this.collections); + } } } diff --git a/src/app/vault/groupings.component.html b/src/app/vault/groupings.component.html index 1f3cb42242..f4aa2a89b7 100644 --- a/src/app/vault/groupings.component.html +++ b/src/app/vault/groupings.component.html @@ -52,7 +52,7 @@

{{'collections' | i18n}}

diff --git a/src/app/vault/groupings.component.ts b/src/app/vault/groupings.component.ts index 99cc6e019a..83f81faf07 100644 --- a/src/app/vault/groupings.component.ts +++ b/src/app/vault/groupings.component.ts @@ -21,7 +21,8 @@ export class GroupingsComponent extends BaseGroupingsComponent { constructor(collectionService: CollectionService, folderService: FolderService) { super(collectionService, folderService); - this.loadNestedFolder = true; + this.loadNestedFolders = true; + this.loadNestedCollections = true; } searchTextChanged() {