fix: POI hinzufügen, unbekannte Icon-Platzhalter => Browser neuladen funktioniert.
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user