mirror of
https://github.com/bitwarden/browser
synced 2024-12-26 09:54:35 +01:00
Added missing clone mode condition (#72)
This commit is contained in:
parent
118bdb20b6
commit
f8ada79135
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user