Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 25, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…10225) (#10226)

The fillWithValue pivot config option was using the || (logical OR) operator,
which treats 0 as falsy. This caused actual zero values in the data to be
incorrectly replaced by fillWithValue, not just missing/undefined values.

Changed the implementation to use the ?? (nullish coalescing) operator instead,
which only falls through for null and undefined values, preserving actual 0
values in the data.

Impact: Users can now use fillWithValue to display 'no data' indicators (like
'-' or 'N/A') without also replacing legitimate zeros in their data.

Fixes #10225

Co-authored-by: Debjit Mandal <debjitmandal8925@gmail.com>
@pull pull bot locked and limited conversation to collaborators Dec 25, 2025
@pull pull bot added the ⤵️ pull label Dec 25, 2025
@pull pull bot merged commit ee02a4f into code:master Dec 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant