Skip to content

Commit

Permalink
Merge pull request #592 from flixlix/567-bug-v021-individual-doesnt-s…
Browse files Browse the repository at this point in the history
…how-secondary-info

fix: 🐛 display zero behaviour individual secondary
  • Loading branch information
flixlix authored Apr 21, 2024
2 parents ebdbe77 + 29dc608 commit 9300869
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 9300869

Please sign in to comment.