Skip to content

Commit

Permalink
correct ndex check
Browse files Browse the repository at this point in the history
  • Loading branch information
marthasharkey committed Feb 24, 2025
1 parent 49c2690 commit 0a00963
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,10 @@ watchEffect(() => {
(h: string) => h === col.headerName,
)
const needsGrouping =
dataHeaderIndex ? data_.requires_number_format[dataHeaderIndex] : false
dataHeaderIndex !== null && dataHeaderIndex !== undefined ?
data_.requires_number_format[dataHeaderIndex]
: false
headerGroupingMap.set(col.headerName, needsGrouping)
}
})
Expand Down

0 comments on commit 0a00963

Please sign in to comment.