Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
fix(ui): use the shared green badge in the provider test results
Sergey Kozyrenko057a223b8683
diff --git a/frontend/src/pages/settings/settings-provider.tsx b/frontend/src/pages/settings/settings-provider.tsxindex 3a84c0a4..a05e5853 100644--- a/frontend/src/pages/settings/settings-provider.tsx+++ b/frontend/src/pages/settings/settings-provider.tsx@@ -927,8 +927,8 @@ function TestResultsDialog({ handleOpenChange, isOpen, results }: TestResultsDiaif (result === true) {return (<Badge- className="shrink-0 border-green-500/40 bg-green-500/10 text-green-600"- variant="outline"+ className="shrink-0"+ variant="green">Success</Badge>@@ -987,13 +987,9 @@ function TestResultsDialog({ handleOpenChange, isOpen, results }: TestResultsDia{getName(agentType)}</span><Badge- className={- isAllPassed- ? 'shrink-0 border-green-500/40 bg-green-500/10 text-green-600'- : 'shrink-0'- }+ className="shrink-0"variant={- isNonePassed ? 'destructive' : isAllPassed ? 'outline' : 'secondary'+ isNonePassed ? 'destructive' : isAllPassed ? 'green' : 'secondary'}>{successTestsCount}/{testsCount} passed