Skip to content

Commit

Permalink
🐛 Update label text for landscape donut labels (#1517)
Browse files Browse the repository at this point in the history
[MTA-1432](https://issues.redhat.com/browse/MTA-1432)

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 authored Nov 7, 2023
1 parent 2ba8a5a commit 1933d08
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const Landscape: React.FC<ILandscapeProps> = ({
value={landscapeData.red}
total={landscapeData.assessmentCount}
color={RISK_LIST.red.hexColor}
riskLabel={t("colors.red")}
riskLabel={t("terms.highRisk")}
riskDescription={questionnaire?.riskMessages?.red ?? ""}
/>
</FlexItem>
Expand All @@ -104,7 +104,7 @@ export const Landscape: React.FC<ILandscapeProps> = ({
value={landscapeData.yellow}
total={landscapeData.assessmentCount}
color={RISK_LIST.yellow.hexColor}
riskLabel={t("colors.yellow")}
riskLabel={t("terms.mediumRisk")}
riskDescription={questionnaire?.riskMessages?.yellow ?? ""}
/>
</FlexItem>
Expand All @@ -114,7 +114,7 @@ export const Landscape: React.FC<ILandscapeProps> = ({
value={landscapeData.green}
total={landscapeData.assessmentCount}
color={RISK_LIST.green.hexColor}
riskLabel={t("colors.green")}
riskLabel={t("terms.lowRisk")}
riskDescription={questionnaire?.riskMessages?.green ?? ""}
/>
</FlexItem>
Expand Down

0 comments on commit 1933d08

Please sign in to comment.