Skip to content

Commit

Permalink
chore: clean up changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Feb 4, 2025
1 parent 8ec4533 commit c77e067
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/pivotTable/PivotTableEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,9 +607,7 @@ export class PivotTableEngine {
return !this.data[row] || this.data[row].length === 0
}
columnIsEmpty(column) {
return !this.rowMap.some(
(row) => this.data[row] && this.data[row][column]
)
return !this.rowMap.some((row) => !!this.data[row]?.[column])
}

getRawColumnHeader(column) {
Expand Down

0 comments on commit c77e067

Please sign in to comment.