mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01: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.uris = this.makeUriArray(credential.url);
|
||||
cipher.notes += this.getValueOrDefault(credential.description);
|
||||
cipher.notes += this.getValueOrDefault(credential.description, '');
|
||||
if (credential.otp != null) {
|
||||
cipher.login.totp = this.getValueOrDefault(credential.otp.secret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user