mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
decrypt optimization
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user