Skip to content

Commit

Permalink
fix: fix regression for DHIS2-17297
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Oct 11, 2024
1 parent 82a10b0 commit a4e4ac2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/pivotTable/PivotTableEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,11 @@ export class PivotTableEngine {

const cellValue = this.data[row][column]

// empty cell
if (!cellValue) {
return undefined
}

if (cellValue && !Array.isArray(cellValue)) {
// This is a total cell
return {
Expand Down

0 comments on commit a4e4ac2

Please sign in to comment.