1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

default empty string on description to notes

This commit is contained in:
Kyle Spearrin 2018-10-08 15:50:58 -04:00
parent e0c32bebc7
commit 7b3fce1779

View File

@ -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);
}