From f8ada7913567f3f93183ddd1ef66f4c9cdfa59d4 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Tue, 18 Feb 2020 21:17:21 -0600 Subject: [PATCH] Added missing clone mode condition (#72) --- 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 4eb6a8ca38..e0bbc59dc4 100644 --- a/src/angular/components/add-edit.component.ts +++ b/src/angular/components/add-edit.component.ts @@ -227,7 +227,7 @@ export class AddEditComponent implements OnInit { return false; } - if (!this.editMode && this.cipher.type === CipherType.Login && + if ((!this.editMode || this.cloneMode) && this.cipher.type === CipherType.Login && this.cipher.login.uris != null && this.cipher.login.uris.length === 1 && (this.cipher.login.uris[0].uri == null || this.cipher.login.uris[0].uri === '')) { this.cipher.login.uris = null;