Skip to content

Commit db238d4

Browse files
authored
Merge pull request #2363 from JohnDuprey/dev
Fix standard label
2 parents 7f189e4 + 35520b9 commit db238d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/home/Home.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ const Home = () => {
146146
const filteredStandards = standards
147147
?.filter((p) => p.Settings.remediate === true)
148148
.map((standard, idx) => {
149-
return <li key={`${standard.Standard}-${idx}`}>{standard.Standard}</li>
149+
const standardDisplayname = allStandardsList.filter((p) => p.name.includes(standard.Standard))
150+
return <li key={`${standard.Standard}-${idx}`}>{standardDisplayname[0].label}</li>
150151
})
151152
return (
152153
<>

0 commit comments

Comments
 (0)