From 6bcbf20e084e1c843d8db7443afc68fd342b91c3 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 16 Jul 2024 08:37:15 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20POI=20hinzuf=C3=BCgen,=20unbekannte=20Ic?= =?UTF-8?q?on-Platzhalter=20=3D>=20Browser=20neuladen=20funktioniert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ShowAddStationPopup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/ShowAddStationPopup.js b/components/ShowAddStationPopup.js index a303772fe..4415d2041 100644 --- a/components/ShowAddStationPopup.js +++ b/components/ShowAddStationPopup.js @@ -109,6 +109,9 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => { onClose(); return newTrigger; }); + + // Browser aktualisieren + window.location.reload(); } else { console.error("Fehler beim Hinzufügen des POI"); } @@ -117,6 +120,7 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => { map.closePopup(); } }; + //-----------------handleSubmit------------------- return (