From 66e5c415636d9da351df5d6bc3f21eafb642b936 Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 3 Jun 2026 11:01:56 -0700 Subject: [PATCH] fix: prioritize map object settings --- .../maps/LocationMapBottomSheet.jsx | 35 +++++++++++-------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/maps/LocationMapBottomSheet.jsx b/frontend/src/components/maps/LocationMapBottomSheet.jsx index 904b49e..ccc1653 100644 --- a/frontend/src/components/maps/LocationMapBottomSheet.jsx +++ b/frontend/src/components/maps/LocationMapBottomSheet.jsx @@ -55,6 +55,22 @@ export default function LocationMapBottomSheet({ : selectedObject ? selectedTitle : "Map Details"; + const showEditorControls = mode === "edit" && canManage; + const showSelectedObjectForm = Boolean(mode === "edit" && editorTool === "edit" && selectedObject); + const editorActions = showEditorControls ? ( +
+ + + + + + +
+ ) : canManage && mapState?.published_map ? ( +
+ +
+ ) : null; return (