mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-18 02:41:15 +02:00
default empty string on description to notes
This commit is contained in:
parent
e0c32bebc7
commit
7b3fce1779
@ -33,7 +33,7 @@ export class PassmanJsonImporter extends BaseImporter implements Importer {
|
|||||||
|
|
||||||
cipher.login.password = this.getValueOrDefault(credential.password);
|
cipher.login.password = this.getValueOrDefault(credential.password);
|
||||||
cipher.login.uris = this.makeUriArray(credential.url);
|
cipher.login.uris = this.makeUriArray(credential.url);
|
||||||
cipher.notes += this.getValueOrDefault(credential.description);
|
cipher.notes += this.getValueOrDefault(credential.description, '');
|
||||||
if (credential.otp != null) {
|
if (credential.otp != null) {
|
||||||
cipher.login.totp = this.getValueOrDefault(credential.otp.secret);
|
cipher.login.totp = this.getValueOrDefault(credential.otp.secret);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user