fix(Map): Fix 'On the map' visibility

This commit is contained in:
Dmitry Popov
2024-12-04 09:13:54 +01:00
parent c7ce727571
commit 85a84f7507

View File

@@ -61,7 +61,7 @@ export const MapContextMenu = ({ onShowOnTheMap, onShowMapSettings }: MapContext
},
] as MenuItem[]
).filter(item => item.visible);
}, [handleAddCharacter, onShowMapSettings, onShowOnTheMap, setInterfaceSettings]);
}, [canTrackCharacters, handleAddCharacter, onShowMapSettings, onShowOnTheMap, setInterfaceSettings]);
return (
<div className="ml-1">