Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
FIX (#19) : csv import - .replace does work only on string values
Browse files Browse the repository at this point in the history
  • Loading branch information
Maus3rSR committed Oct 20, 2020
1 parent 66cf6e3 commit fcdcfd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/renderer/screens/partials/list/entry_list/modal/Csv.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ export default {
if (undefined === row[field_name])
continue
const row_value = row[field_name].value
let row_value = row[field_name].value
if (typeof row_value !== "string")
row_value = row_value.toString()
const column_index = parseInt(row[field_name].csv_index, 10)
if (undefined === row_value || null === row_value)
Expand Down

0 comments on commit fcdcfd4

Please sign in to comment.