This commit is contained in:
Kyle Spearrin 2018-04-14 13:38:04 -04:00
parent 831b4cff7b
commit 2930d7daf7
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ export class AddEditComponent {
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 = null;
}