mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
check type
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 09df62db4c...b01709240e
@@ -475,7 +475,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
childComponent.onSelected.subscribe((password: string) => {
|
childComponent.onSelected.subscribe((password: string) => {
|
||||||
this.modal.close();
|
this.modal.close();
|
||||||
if (this.addEditComponent != null && this.addEditComponent.cipher != null &&
|
if (this.addEditComponent != null && this.addEditComponent.cipher != null &&
|
||||||
this.addEditComponent.cipher.login != null) {
|
this.addEditComponent.cipher.type === CipherType.Login && this.addEditComponent.cipher.login != null) {
|
||||||
this.addEditComponent.cipher.login.password = password;
|
this.addEditComponent.cipher.login.password = password;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user