fix: POI-Typ wird beim Öffnen des Modals korrekt vorausgewählt

- idPoiTyp an Marker übergeben und in handleEditPoi verwendet
- Dropdown-Zuweisung in PoiUpdateModal.js über Redux poiTypData
- Version erhöht auf 1.1.164
This commit is contained in:
Ismail Ali
2025-05-25 11:41:23 +02:00
parent 0d59fff439
commit dd0cad47ae
4 changed files with 46 additions and 18 deletions

View File

@@ -113,10 +113,12 @@ export const handleEditPoi = (
name: marker.options.name,
description: marker.options.description,
idLD: marker.options.idLD,
idPoiTyp: marker.options.idPoiTyp,
});
fetchPoiData(marker.options.id);
setShowPoiUpdateModal(true);
console.log("POI option idPoiTyp:", marker.options.idPoiTyp);
};
//-------------------------------------------------------------------