fix(frontend): show a single empty state on the firewall tab

This commit is contained in:
Juan Denis committed 2026-11-03 13:05:03 -05:00
1 parent 07e2c76b07
commit e6b6b94d0d
1 file changed
+2 -1
@@ -447,7 +447,8 @@ const FirewallTab = () => {
return (
<div className="firewall-tab">
{partialError && <ErrorState compact error={partialError} onRetry={loadData} />}
{/* With no firewall installed the rules/blocked reads fail as a side effect; the call to action below already says so. */}
{partialError && status?.any_installed && <ErrorState compact error={partialError} onRetry={loadData} />}
{!status?.any_installed ? (
<EmptyState
icon={Shield}