diff --git a/src/pages/panel/compliance/CompliancePage.tsx b/src/pages/panel/compliance/CompliancePage.tsx index 73ffb7c4..45714d70 100644 --- a/src/pages/panel/compliance/CompliancePage.tsx +++ b/src/pages/panel/compliance/CompliancePage.tsx @@ -25,7 +25,7 @@ export default function CompliancePage() { name: account.name ?? account.id, value: percentage, title: Math.round(percentage) + '%', - href: `/compliance/${benchmark.id}/${account.id}`, + href: failedChecks ? `/compliance/${benchmark.id}/${account.id}` : undefined, } }), })),