mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-25 16:04:19 +08:00
fix csv icon export
This commit is contained in:
parent
0ebbfefa53
commit
c4ccaa78c4
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ PassmanExporter.csv.export = function (credentials, FileService, EncryptService,
|
||||||
}
|
}
|
||||||
const tag_data = '[' + _tags.join(",") + ']';
|
const tag_data = '[' + _tags.join(",") + ']';
|
||||||
row_data.push('"' + tag_data.replaceAll('"', '""') + '"');
|
row_data.push('"' + tag_data.replaceAll('"', '""') + '"');
|
||||||
} else if (field === 'custom_fields' || field === 'files' || field === 'otp') {
|
} else if (field === 'custom_fields' || field === 'files' || field === 'otp' || field === 'icon') {
|
||||||
let _fields = JSON.stringify(_credential[field]);
|
let _fields = JSON.stringify(_credential[field]);
|
||||||
_fields = _fields.replaceAll('"', '""');
|
_fields = _fields.replaceAll('"', '""');
|
||||||
row_data.push('"' + _fields + '"');
|
row_data.push('"' + _fields + '"');
|
||||||
|
|
Loading…
Reference in a new issue