From 112b1c26494c048e0dede41694a14f927e9bb0e8 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Mon, 13 Apr 2026 05:02:06 +0000 Subject: [PATCH] fix: ShieldAlert still referenced in CATEGORY_DEFAULTS after icon swap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed ShieldAlert from imports when swapping firewall icon to BrickWallFire but left it in CATEGORY_DEFAULTS — runtime crash, device toolbar empty. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/network/nodes/deviceRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/network/nodes/deviceRegistry.ts b/frontend/src/components/network/nodes/deviceRegistry.ts index c92dbbee..7dec611d 100644 --- a/frontend/src/components/network/nodes/deviceRegistry.ts +++ b/frontend/src/components/network/nodes/deviceRegistry.ts @@ -79,7 +79,7 @@ const CATEGORY_DEFAULTS: Record = { 'cloud': { icon: Cloud, color: CLOUD_COLOR }, 'endpoint': { icon: Monitor, color: ENDPOINT_COLOR }, 'infrastructure': { icon: PlugZap, color: INFRA_COLOR }, - 'security': { icon: ShieldAlert, color: SECURITY_COLOR }, + 'security': { icon: BrickWallFire, color: SECURITY_COLOR }, } const FALLBACK: DeviceRenderConfig = { icon: Cpu, color: INFRA_COLOR }