Skip to content

Commit

Permalink
fix: 🐛 display zero behaviour individual secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix committed Apr 21, 2024
1 parent fc96c39 commit d31dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/spans/individualSecondarySpan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export const individualSecondarySpan = (

const shouldShowSecondary = () => {
if (!!templateResult) return true;
if (individual?.secondary?.displayZero === true) return true;
if (!individual?.secondary?.state) return false;
if (!isNumberValue(individual?.secondary?.state)) return true;
if (individual?.secondary?.displayZero === true) return true;

const toleranceSet = individual?.secondary?.displayZeroTolerance ?? 0;
return (
Expand Down

0 comments on commit d31dec9

Please sign in to comment.