We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 815208a commit 0a91b1bCopy full SHA for 0a91b1b
src/shared/contexts/query.tsx
@@ -424,7 +424,8 @@ const parseCSV = (() => {
424
// we have to rewrap the response to mimic the giraffe fromFlux interface
425
426
Object.defineProperty(data.table, 'length', {
427
- get: () => Object.values(data.table.columns)[0].data.length,
+ get: () =>
428
+ (Object.values(data?.table?.columns ?? {})[0]?.data ?? []).length || 0,
429
})
430
Object.defineProperty(data.table, 'columnKeys', {
431
get: () => Object.keys(data.table.columns),
0 commit comments