From edc283893c7493d1e00553fa0de8259c11a7f9c4 Mon Sep 17 00:00:00 2001 From: Joni Joensuu Date: Thu, 31 Aug 2023 19:59:56 +0300 Subject: [PATCH] fixed admin typo and removed fullscreen button --- recommender-front/src/components/map/MapComponent.jsx | 10 ++++++---- .../components/simulator/SimulatorFormComponent.jsx | 4 ++-- recommender-front/src/pages/SimulatorPage.jsx | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/recommender-front/src/components/map/MapComponent.jsx b/recommender-front/src/components/map/MapComponent.jsx index e8281302..37fe830a 100644 --- a/recommender-front/src/components/map/MapComponent.jsx +++ b/recommender-front/src/components/map/MapComponent.jsx @@ -9,7 +9,7 @@ import '../../assets/style.css'; function MapComponent({ poiData, time, handleSetOrigin, userPosition, handleSetDestination, routeCoordinates, - headerHidden, toggleHeader, + headerHidden, toggleHeader, showToggleHeaderButton = true, }) { const position = [60.2049, 24.9649]; const minZoom = 12; @@ -19,9 +19,11 @@ function MapComponent({ return (
- + {showToggleHeaderButton && ( + + )} Precipitation Cloud Amount {isNightTime &&
}