mirror of
https://github.com/enso-org/enso.git
synced 2024-11-05 03:59:38 +03:00
Add check for null values in table visualization (#10116)
This commit is contained in:
parent
6897f0d30c
commit
a9f14b1da9
@ -380,8 +380,10 @@ watchEffect(() => {
|
||||
const headerGroupingMap = new Map()
|
||||
headers.forEach((header) => {
|
||||
const needsGrouping = rowData.some((row: any) => {
|
||||
const value = typeof row[header] === 'object' ? row[header].value : row[header]
|
||||
return value > 9999
|
||||
if (header in row && row[header] != null) {
|
||||
const value = typeof row[header] === 'object' ? row[header].value : row[header]
|
||||
return value > 9999
|
||||
}
|
||||
})
|
||||
headerGroupingMap.set(header, needsGrouping)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user