Skip to content

Commit a6c1020

Browse files
authored
Merge pull request #674 from SlideRuleEarth/carlos-dev3
Exporting csv containing nested lists
2 parents a71923c + ae91856 commit a6c1020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-client/src/components/SrExportDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function safeCsvCell(val: any): string {
203203
204204
// 2) TypedArrays (Float64Array, Int32Array, etc.)
205205
if (ArrayBuffer.isView(val) && !(val instanceof DataView)) {
206-
const s = JSON.stringify(Array.from(val as ArrayLike<number>));
206+
const s = JSON.stringify(Array.from(val as unknown as Iterable<number>));
207207
return `"${s.replace(/"/g, '""')}"`;
208208
}
209209

0 commit comments

Comments
 (0)