From 913d458fd613812c692f450528e2d55d6e81940e Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 4 Jun 2026 15:17:06 -0700 Subject: [PATCH] fix: add map sheet close action --- .../maps/LocationMapBottomSheet.jsx | 11 +++++++++ frontend/src/pages/LocationMapManager.jsx | 1 + .../src/styles/pages/LocationMapManager.css | 23 +++++++++++++++++++ frontend/tests/location-map-manager.spec.ts | 13 ++++++++++- 4 files changed, 47 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/maps/LocationMapBottomSheet.jsx b/frontend/src/components/maps/LocationMapBottomSheet.jsx index 7e05662..8ee6528 100644 --- a/frontend/src/components/maps/LocationMapBottomSheet.jsx +++ b/frontend/src/components/maps/LocationMapBottomSheet.jsx @@ -43,6 +43,7 @@ export default function LocationMapBottomSheet({ onDuplicateObject, onDeleteObject, onShowHiddenAreas, + onClearSelection, onSelectZoneItem, onSelectUnmappedItem, }) { @@ -186,6 +187,16 @@ export default function LocationMapBottomSheet({
+ {selectedObject ? ( + + ) : null} {changedLayerCount ? (