Skip to content

Commit 88f7c51

Browse files
authored
Merge pull request #733 from IFRCGo/fix/tooltip-income-chart
Value error on tool-tip over national society income chart
2 parents 164dfd1 + c984a09 commit 88f7c51

File tree

1 file changed

+1
-1
lines changed
  • app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyIncomeOverTime

1 file changed

+1
-1
lines changed

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyIncomeOverTime/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function NationalSocietyIncomeOverTime(props: Props) {
103103
description={(
104104
<TextOutput
105105
label={strings.nsIncomeOverTimeTooltipTotalLabel}
106-
value={incomeByYear?.[Number(year)].value}
106+
value={incomeByYear?.[Number(year)]?.value}
107107
suffix=" CHF"
108108
valueType="number"
109109
strongValue

0 commit comments

Comments
 (0)