From 2930d7daf7ce31ea029153a5b54f167277ce3ea0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 14 Apr 2018 13:38:04 -0400 Subject: [PATCH] === --- src/angular/components/add-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular/components/add-edit.component.ts b/src/angular/components/add-edit.component.ts index 44b4afb7eb..dced8314a1 100644 --- a/src/angular/components/add-edit.component.ts +++ b/src/angular/components/add-edit.component.ts @@ -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; }