From c4ccaa78c43b358bdf6c11bedbf9080ec63d2fd1 Mon Sep 17 00:00:00 2001 From: binsky Date: Wed, 28 Jun 2023 02:31:59 +0200 Subject: [PATCH] fix csv icon export --- js/exporters/exporter-csv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/exporters/exporter-csv.js b/js/exporters/exporter-csv.js index 237c1286..1aad5eda 100644 --- a/js/exporters/exporter-csv.js +++ b/js/exporters/exporter-csv.js @@ -66,7 +66,7 @@ PassmanExporter.csv.export = function (credentials, FileService, EncryptService, } const tag_data = '[' + _tags.join(",") + ']'; 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]); _fields = _fields.replaceAll('"', '""'); row_data.push('"' + _fields + '"');