Fix map selection
This commit is contained in:
parent
4b6f99a067
commit
1b200d9d04
@ -85,7 +85,7 @@ function MapContols({
|
|||||||
const allowNoteEditing = isOwner || mapState?.editFlags.includes("notes");
|
const allowNoteEditing = isOwner || mapState?.editFlags.includes("notes");
|
||||||
|
|
||||||
const disabled: MapToolId[] = [];
|
const disabled: MapToolId[] = [];
|
||||||
if (!map || !allowMapChange) {
|
if (!allowMapChange) {
|
||||||
disabled.push("map");
|
disabled.push("map");
|
||||||
}
|
}
|
||||||
if (!map) {
|
if (!map) {
|
||||||
|
Loading…
Reference in New Issue
Block a user