fixed border mission marker; changed type of mapStore for State management in marker
This commit is contained in:
@@ -10,9 +10,15 @@ interface MapStore {
|
||||
center: L.LatLngExpression;
|
||||
zoom: number;
|
||||
};
|
||||
openMissionMarker: string[];
|
||||
openMissionMarker: {
|
||||
id: string;
|
||||
tab: "home" | "";
|
||||
}[];
|
||||
setOpenMissionMarker: (mission: { open: string[]; close: string[] }) => void;
|
||||
openAircraftMarker: string[];
|
||||
openAircraftMarker: {
|
||||
id: string;
|
||||
tab: "home" | "fms" | "aircraft" | "mission" | "chat";
|
||||
}[];
|
||||
setOpenAircraftMarker: (mission: { open: string[]; close: string[] }) => void;
|
||||
searchElements: {
|
||||
id: number;
|
||||
|
||||
@@ -18,9 +18,9 @@ export const useMissionsStore = create<MissionStore>((set) => ({
|
||||
addressZip: "10178",
|
||||
missionAdditionalInfo: "Additional info",
|
||||
missionCategory: "AB_Atmung",
|
||||
missionKeyword: "Zunehmende Atemnot",
|
||||
missionKeyword: "Zunehmende Beschwerden",
|
||||
missionSummary: "AB1_0",
|
||||
missionPatientInfo: "M/10",
|
||||
missionSummary: "Summary",
|
||||
},
|
||||
],
|
||||
setMissions: (missions) => set({ missions }),
|
||||
|
||||
Reference in New Issue
Block a user