Skip to content

Commit

Permalink
🐛 Account for unknown risk in landscape view (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Jan 8, 2024
1 parent 9d52013 commit 538f241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"teamMember": "team member",
"ticket": "Ticket",
"trivialButMigratable": "Trivial but migratable",
"unassessedOrUnknown": "Unassessed or unknown",
"unassessed": "Unassessed",
"unassigned": "Not yet assigned",
"unknown": "Unknown",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@ export const ApplicationLandscape: React.FC<IApplicationLandscapeProps> = ({
<Donut
isAssessment={false}
id="landscape-donut-unassessed"
value={landscapeData.unassessed}
value={landscapeData.unassessed + landscapeData.unknown}
total={landscapeData.applicationsCount}
color={RISK_LIST.unknown.hexColor}
riskLabel={
<Link to={getRisksUrl(["unknown"])}>
{`${t("terms.unassessed")}/${t("terms.unknown")}`}
</Link>
}
riskTitle={t("terms.unassessed")}
riskTitle={t("terms.unassessedOrUnknown")}
/>
</FlexItem>
</Flex>
Expand Down

0 comments on commit 538f241

Please sign in to comment.