Skip to content

Commit

Permalink
🐛 Account for unknown risk in landscape view
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 committed Jan 5, 2024
1 parent 30ec412 commit 3748526
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 3748526

Please sign in to comment.