1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

decrypt optimization

This commit is contained in:
Kyle Spearrin
2019-04-15 08:43:18 -04:00
parent 37d9afc58b
commit 05dde1051c

View File

@@ -90,8 +90,8 @@ export class CipherString {
}
async decrypt(orgId: string): Promise<string> {
if (this.decryptedValue) {
return Promise.resolve(this.decryptedValue);
if (this.decryptedValue != null) {
return this.decryptedValue;
}
let cryptoService: CryptoService;