check type
This commit is contained in:
parent
760a0315bc
commit
912aa752f3
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 09df62db4cb29832313bf612fa8b77c63a11f026
|
||||
Subproject commit b01709240e4fc0674caea4edfebe5e46249c2bd2
|
|
@ -475,7 +475,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||
childComponent.onSelected.subscribe((password: string) => {
|
||||
this.modal.close();
|
||||
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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue