mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
remove empty uri on add
This commit is contained in:
parent
5608f11925
commit
e883dfdaac
@ -154,6 +154,11 @@ export class AddEditComponent {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
const cipher = await this.cipherService.encrypt(this.cipher);
|
const cipher = await this.cipherService.encrypt(this.cipher);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user