mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
decrypt optimization
This commit is contained in:
@@ -90,8 +90,8 @@ export class CipherString {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async decrypt(orgId: string): Promise<string> {
|
async decrypt(orgId: string): Promise<string> {
|
||||||
if (this.decryptedValue) {
|
if (this.decryptedValue != null) {
|
||||||
return Promise.resolve(this.decryptedValue);
|
return this.decryptedValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let cryptoService: CryptoService;
|
let cryptoService: CryptoService;
|
||||||
|
|||||||
Reference in New Issue
Block a user