1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

org vault listing from apis

This commit is contained in:
Kyle Spearrin
2018-07-03 23:33:12 -04:00
parent 8f503f4f99
commit f1584ad7d7
9 changed files with 324 additions and 40 deletions

View File

@@ -47,7 +47,6 @@ export class VaultComponent implements OnInit {
@ViewChild('bulkMoveTemplate', { read: ViewContainerRef }) bulkMoveModalRef: ViewContainerRef;
@ViewChild('bulkShareTemplate', { read: ViewContainerRef }) bulkShareModalRef: ViewContainerRef;
cipherId: string = null;
favorites: boolean = false;
type: CipherType = null;
folderId: string = null;
@@ -62,9 +61,7 @@ export class VaultComponent implements OnInit {
async ngOnInit() {
this.route.queryParams.subscribe(async (params) => {
await this.syncService.fullSync(false);
await Promise.all([
this.groupingsComponent.load(),
]);
await this.groupingsComponent.load();
if (params == null) {
this.groupingsComponent.selectedAll = true;
@@ -355,7 +352,6 @@ export class VaultComponent implements OnInit {
private go(queryParams: any = null) {
if (queryParams == null) {
queryParams = {
cipherId: this.cipherId,
favorites: this.favorites ? true : null,
type: this.type,
folderId: this.folderId,