mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-13 13:49:37 +01:00
[PM-17713] Only use cachedCipherView if the cache was initialized from a cipher (#13133)
This commit is contained in:
parent
ef38a96faf
commit
99ecf821dd
@ -178,7 +178,7 @@ export class CipherFormComponent implements AfterViewInit, OnInit, OnChanges, Ci
|
||||
getInitialCipherView(): CipherView {
|
||||
const cachedCipherView = this.cipherFormCacheService.getCachedCipherView();
|
||||
|
||||
if (cachedCipherView) {
|
||||
if (cachedCipherView && this.initializedWithCachedCipher()) {
|
||||
return cachedCipherView;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user