1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00
This commit is contained in:
Kyle Spearrin 2018-04-14 13:38:04 -04:00
parent 831b4cff7b
commit 2930d7daf7

View File

@ -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;
} }