From 1b200d9d0452f16f81d2076e55504da0fb2a1a9c Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Thu, 12 Aug 2021 12:21:11 +1000 Subject: [PATCH] Fix map selection --- src/components/map/MapControls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/MapControls.tsx b/src/components/map/MapControls.tsx index b1b7308..d24351b 100644 --- a/src/components/map/MapControls.tsx +++ b/src/components/map/MapControls.tsx @@ -85,7 +85,7 @@ function MapContols({ const allowNoteEditing = isOwner || mapState?.editFlags.includes("notes"); const disabled: MapToolId[] = []; - if (!map || !allowMapChange) { + if (!allowMapChange) { disabled.push("map"); } if (!map) {