Skip to content

Commit

Permalink
Merge pull request #2363 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
Fix standard label
  • Loading branch information
JohnDuprey authored Apr 24, 2024
2 parents 7f189e4 + 35520b9 commit db238d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ const Home = () => {
const filteredStandards = standards
?.filter((p) => p.Settings.remediate === true)
.map((standard, idx) => {
return <li key={`${standard.Standard}-${idx}`}>{standard.Standard}</li>
const standardDisplayname = allStandardsList.filter((p) => p.name.includes(standard.Standard))
return <li key={`${standard.Standard}-${idx}`}>{standardDisplayname[0].label}</li>
})
return (
<>
Expand Down

0 comments on commit db238d4

Please sign in to comment.