feature: stations stats

This commit is contained in:
2024-05-05 13:34:43 +02:00
parent f29c160000
commit 405aab96bd
8 changed files with 178 additions and 94 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ export const useMainStore = defineStore('mainStore', {
modalLastClickedTarget: null,
mousePos: { x: 0, y: 0 },
popUpData: { key: null, content: '' },
stations: [] as Station[],
trainsOnline: [] as Train[]
popUpData: { key: null, content: '' }
}) as MainStoreState,
getters: {
-2
View File
@@ -17,8 +17,6 @@ export interface MainStoreState {
modalLastClickedTarget: EventTarget | null;
mousePos: { x: number; y: number };
popUpData: { key: PopUpType | null; content: string };
stations: Station[];
trainsOnline: Train[];
}
export interface StationJSONData {