mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
support for encryptr text column
This commit is contained in:
parent
ab9bee29b8
commit
29635bf9da
@ -20,6 +20,14 @@ export class EncryptrCsvImporter extends BaseImporter implements Importer {
|
|||||||
const cipher = this.initLoginCipher();
|
const cipher = this.initLoginCipher();
|
||||||
cipher.name = this.getValueOrDefault(value.Label, '--');
|
cipher.name = this.getValueOrDefault(value.Label, '--');
|
||||||
cipher.notes = this.getValueOrDefault(value.Notes);
|
cipher.notes = this.getValueOrDefault(value.Notes);
|
||||||
|
const text = this.getValueOrDefault(value.Text);
|
||||||
|
if (!this.isNullOrWhitespace(text)) {
|
||||||
|
if (this.isNullOrWhitespace(cipher.notes)) {
|
||||||
|
cipher.notes = text;
|
||||||
|
} else {
|
||||||
|
cipher.notes += ('\n\n' + text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const type = value['Entry Type'];
|
const type = value['Entry Type'];
|
||||||
if (type === 'Password') {
|
if (type === 'Password') {
|
||||||
|
Loading…
Reference in New Issue
Block a user