fixed type errors
This commit is contained in:
@@ -172,6 +172,9 @@ const MissionPopupContent = ({
|
|||||||
addressMissionDestination: mission.addressMissionDestination ?? undefined,
|
addressMissionDestination: mission.addressMissionDestination ?? undefined,
|
||||||
addressAdditionalInfo: mission.addressAdditionalInfo ?? undefined,
|
addressAdditionalInfo: mission.addressAdditionalInfo ?? undefined,
|
||||||
state: "draft",
|
state: "draft",
|
||||||
|
hpgAmbulanceState: "NOT_REQUESTED",
|
||||||
|
hpgFireEngineState: "NOT_REQUESTED",
|
||||||
|
hpgPoliceState: "NOT_REQUESTED",
|
||||||
hpgLocationLat: mission.hpgLocationLat ?? undefined,
|
hpgLocationLat: mission.hpgLocationLat ?? undefined,
|
||||||
hpgLocationLng: mission.hpgLocationLng ?? undefined,
|
hpgLocationLng: mission.hpgLocationLng ?? undefined,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -114,9 +114,9 @@ const Einsatzdetails = ({
|
|||||||
setMissionFormValues({
|
setMissionFormValues({
|
||||||
...mission,
|
...mission,
|
||||||
id: undefined,
|
id: undefined,
|
||||||
hpgAmbulanceState: null,
|
hpgAmbulanceState: "NOT_REQUESTED",
|
||||||
hpgFireEngineState: null,
|
hpgFireEngineState: "NOT_REQUESTED",
|
||||||
hpgPoliceState: null,
|
hpgPoliceState: "NOT_REQUESTED",
|
||||||
hpgLocationLat: undefined,
|
hpgLocationLat: undefined,
|
||||||
hpgLocationLng: undefined,
|
hpgLocationLng: undefined,
|
||||||
state: "draft",
|
state: "draft",
|
||||||
@@ -311,9 +311,9 @@ const Einsatzdetails = ({
|
|||||||
setMissionFormValues({
|
setMissionFormValues({
|
||||||
...mission,
|
...mission,
|
||||||
id: undefined,
|
id: undefined,
|
||||||
hpgAmbulanceState: null,
|
hpgAmbulanceState: "NOT_REQUESTED",
|
||||||
hpgFireEngineState: null,
|
hpgFireEngineState: "NOT_REQUESTED",
|
||||||
hpgPoliceState: null,
|
hpgPoliceState: "NOT_REQUESTED",
|
||||||
hpgLocationLat: undefined,
|
hpgLocationLat: undefined,
|
||||||
hpgLocationLng: undefined,
|
hpgLocationLng: undefined,
|
||||||
state: "draft",
|
state: "draft",
|
||||||
|
|||||||
@@ -96,9 +96,9 @@ export const MissionForm = () => {
|
|||||||
missionKeywordAbbreviation: null as any,
|
missionKeywordAbbreviation: null as any,
|
||||||
missionKeywordCategory: null as any,
|
missionKeywordCategory: null as any,
|
||||||
missionKeywordName: null as any,
|
missionKeywordName: null as any,
|
||||||
hpgFireEngineState: null,
|
hpgAmbulanceState: "NOT_REQUESTED",
|
||||||
hpgAmbulanceState: null,
|
hpgFireEngineState: "NOT_REQUESTED",
|
||||||
hpgPoliceState: null,
|
hpgPoliceState: "NOT_REQUESTED",
|
||||||
hpgMissionString: null,
|
hpgMissionString: null,
|
||||||
hpgSelectedMissionString: null,
|
hpgSelectedMissionString: null,
|
||||||
hpg: null,
|
hpg: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user