From 76f3b8b086b8f978baa5d1515517ba7d30cfcb84 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 4 Jun 2026 18:09:06 -0700 Subject: [PATCH] fix: compact map setup panel --- .../components/maps/LocationMapSetupPanel.jsx | 17 ++++----------- frontend/tests/location-map-manager.spec.ts | 21 ++++++++----------- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/maps/LocationMapSetupPanel.jsx b/frontend/src/components/maps/LocationMapSetupPanel.jsx index d41d3fb..1bccf2a 100644 --- a/frontend/src/components/maps/LocationMapSetupPanel.jsx +++ b/frontend/src/components/maps/LocationMapSetupPanel.jsx @@ -11,11 +11,6 @@ export default function LocationMapSetupPanel({ onCreateBlank, }) { const hasZones = zoneCount > 0; - const status = hasAnyMap - ? "Draft" - : canManage - ? "Not started" - : "Not published"; const createFromZonesLabel = hasZones ? `Create From ${zoneCount} Zone${zoneCount === 1 ? "" : "s"}` : "Create From Zones"; @@ -26,18 +21,14 @@ export default function LocationMapSetupPanel({ return (

{hasAnyMap ? "Draft Map" : "No Map"}

-
-
- Status - {status} -
- {canManage ? ( + {canManage ? ( +
Zones {zoneCount}
- ) : null} -
+
+ ) : null} {hasAnyMap && canManage ? (