mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Merge branch 'main' into hotfix/2.1.5
This commit is contained in:
commit
ac21f29cec
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ FilePicker.AcceptedFiles = ({ children, width, height }) => {
|
|||
|
||||
const processCSV = (str, delimiter = ',') => {
|
||||
try {
|
||||
const wb = XLSX.read(str, { type: 'string' });
|
||||
const wb = XLSX.read(str, { type: 'string', raw: true });
|
||||
const wsname = wb.SheetNames[0];
|
||||
const ws = wb.Sheets[wsname];
|
||||
const data = XLSX.utils.sheet_to_json(ws, { delimiter, defval: '' });
|
||||
|
|
|
|||
Loading…
Reference in a new issue