mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-04 21:05:54 +08:00
decrypt optimization
This commit is contained in:
parent
37d9afc58b
commit
05dde1051c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user