fix(ui): show a single empty state when no firewall is detected

This commit is contained in:
Juan Denis committed 2026-11-03 13:10:03 -05:00
1 parent 63f2192076
commit b9e3cdd959
1 file changed
+2 -1
@@ -447,7 +447,8 @@ const FirewallTab = () => {
return (
<div className="firewall-tab">
{partialError && <ErrorState compact error={partialError} onRetry={loadData} />}
{/* No firewall: the empty state below already says so; the error would repeat it. */}
{partialError && status?.any_installed && <ErrorState compact error={partialError} onRetry={loadData} />}
{!status?.any_installed ? (
<EmptyState
icon={Shield}