feat(Map): Added an option to show 'Offline characters' to map admins & managers only

- updated UI layout for map settings modal
This commit is contained in:
Dmitry Popov
2024-12-04 18:01:50 +01:00
parent 12fa1a0be8
commit ab02fe988c
24 changed files with 3693 additions and 1463 deletions

View File

@@ -41,8 +41,6 @@ export const WHClassView = ({
data: { wormholesData },
} = useMapRootState();
console.log(whClassName);
const whData = useMemo(() => wormholesData[whClassName], [whClassName, wormholesData]);
const whClass = useMemo(() => WORMHOLES_ADDITIONAL_INFO[whData.dest], [whData.dest]);
const whClassStyle = WORMHOLE_CLASS_STYLES[whClass?.wormholeClassID] ?? '';