1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

load item view cipher

This commit is contained in:
Kyle Spearrin
2018-01-24 00:06:05 -05:00
parent 5703782a0f
commit b16ae24d58
7 changed files with 28 additions and 16 deletions

View File

@@ -13,12 +13,18 @@ import { CipherService } from 'jslib/abstractions/cipher.service';
})
export class VaultComponent implements OnInit {
ciphers: any[];
cipher: any;
details: string;
constructor(private cipherService: CipherService) {
}
async ngOnInit() {
this.ciphers = await this.cipherService.getAllDecrypted();
}
viewCipher(cipher: any) {
this.cipher = cipher;
this.details = 'view';
}
}