fix: POI hinzufügen, unbekannte Icon-Platzhalter => Browser neuladen funktioniert.

This commit is contained in:
ISA
2024-07-16 08:37:15 +02:00
parent 5bf16940fd
commit 6bcbf20e08

View File

@@ -109,6 +109,9 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => {
onClose(); onClose();
return newTrigger; return newTrigger;
}); });
// Browser aktualisieren
window.location.reload();
} else { } else {
console.error("Fehler beim Hinzufügen des POI"); console.error("Fehler beim Hinzufügen des POI");
} }
@@ -117,6 +120,7 @@ const ShowAddStationPopup = ({ onClose, map, latlng }) => {
map.closePopup(); map.closePopup();
} }
}; };
//-----------------handleSubmit------------------- //-----------------handleSubmit-------------------
return ( return (