chore: improved stock actions layout; added stock bookmarking

This commit is contained in:
2025-03-08 02:14:43 +01:00
parent 90e257127c
commit 7596b7ec2c
7 changed files with 283 additions and 113 deletions
+3 -6
View File
@@ -61,6 +61,9 @@ export const useStore = defineStore({
lastFocusedElement: null as HTMLElement | null,
storageStockData: {} as Record<string, string>,
chosenStorageStockName: '',
compatibleSimulatorVersion: '2024.3.1',
}),
@@ -137,11 +140,5 @@ export const useStore = defineStore({
async setupAPIData() {
await this.fetchVehiclesAPI();
},
handleRouting() {
if (window.location.search.includes('trainId=')) {
const trainId = window.location.search;
}
},
},
});