File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
govtool/frontend/src/components/organisms/DashboardCards Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ changes.
2121- Fix displaying vote pill on voted on cards
2222- Fix incorrect link to learn more about direct voters [ Issue 2647] ( https://github.com/IntersectMBO/govtool/issues/2647 )
2323- Fix missing No DRep found message on DRep Directory [ Issue 2889] ( https://github.com/IntersectMBO/govtool/issues/2889 )
24+ - Fix displaying givenName placeholder instead of actual value on DRep card [ Issue 2888] ( https://github.com/IntersectMBO/govtool/issues/2888 )
2425
2526### Changed
2627
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const DRepDashboardCard = ({
6666 i18nKey = "dashboard.cards.drep.retirementInProgressWithGivenName"
6767 values = { {
6868 deposit : correctAdaFormat ( voter ?. deposit ) ,
69- name : voter ?. givenName ,
69+ givenName : voter ?. givenName ,
7070 } }
7171 />
7272 ) : (
@@ -140,7 +140,7 @@ export const DRepDashboardCard = ({
140140 description : voter ?. givenName ? (
141141 < Trans
142142 i18nKey = "dashboard.cards.drep.notRegisteredWasRegisteredDescriptionWithGivenName"
143- values = { { name : voter ?. givenName } }
143+ values = { { givenName : voter ?. givenName ?? "DRep" } }
144144 />
145145 ) : (
146146 < Trans i18nKey = "dashboard.cards.drep.notRegisteredWasRegisteredDescription" />
You can’t perform that action at this time.
0 commit comments