Skip to content

Commit 3959413

Browse files
committed
fix(compliance-page): remove unnecessary links for heatmap
1 parent 275c9af commit 3959413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/panel/compliance/CompliancePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function CompliancePage() {
2525
name: account.name ?? account.id,
2626
value: percentage,
2727
title: Math.round(percentage) + '%',
28-
href: `/compliance/${benchmark.id}/${account.id}`,
28+
href: failedChecks ? `/compliance/${benchmark.id}/${account.id}` : undefined,
2929
}
3030
}),
3131
})),

0 commit comments

Comments
 (0)