===
This commit is contained in:
parent
831b4cff7b
commit
2930d7daf7
|
@ -154,7 +154,7 @@ export class AddEditComponent {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.editMode && this.cipher.type == CipherType.Login && this.cipher.login.uris.length === 1 &&
|
if (!this.editMode && this.cipher.type === CipherType.Login && this.cipher.login.uris.length === 1 &&
|
||||||
(this.cipher.login.uris[0].uri == null || this.cipher.login.uris[0].uri === '')) {
|
(this.cipher.login.uris[0].uri == null || this.cipher.login.uris[0].uri === '')) {
|
||||||
this.cipher.login.uris = null;
|
this.cipher.login.uris = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue