1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

org component loaded independently

This commit is contained in:
Kyle Spearrin
2018-07-03 16:04:38 -04:00
parent 499ecf9c39
commit 8f503f4f99
4 changed files with 13 additions and 7 deletions

View File

@@ -24,7 +24,6 @@ import { CiphersComponent } from './ciphers.component';
import { CollectionsComponent } from './collections.component';
import { FolderAddEditComponent } from './folder-add-edit.component';
import { GroupingsComponent } from './groupings.component';
import { OrganizationsComponent } from './organizations.component';
import { ShareComponent } from './share.component';
import { I18nService } from 'jslib/abstractions/i18n.service';
@@ -39,7 +38,6 @@ import { BulkShareComponent } from './bulk-share.component';
export class VaultComponent implements OnInit {
@ViewChild(GroupingsComponent) groupingsComponent: GroupingsComponent;
@ViewChild(CiphersComponent) ciphersComponent: CiphersComponent;
@ViewChild(OrganizationsComponent) organizationsComponent: OrganizationsComponent;
@ViewChild('attachments', { read: ViewContainerRef }) attachmentsModalRef: ViewContainerRef;
@ViewChild('folderAddEdit', { read: ViewContainerRef }) folderAddEditModalRef: ViewContainerRef;
@ViewChild('cipherAddEdit', { read: ViewContainerRef }) cipherAddEditModalRef: ViewContainerRef;
@@ -66,7 +64,6 @@ export class VaultComponent implements OnInit {
await this.syncService.fullSync(false);
await Promise.all([
this.groupingsComponent.load(),
this.organizationsComponent.load(),
]);
if (params == null) {