chore(preview): adjustments in image loading & fallback

This commit is contained in:
2024-04-15 16:39:46 +02:00
parent 3424f9a952
commit 8dc670b631
4 changed files with 63 additions and 80 deletions
-3
View File
@@ -34,8 +34,6 @@ export const useStore = defineStore({
isColdStart: false,
isDoubleManned: false,
imageLoading: false,
chosenLocoGroup: 'loco-electric' as LocoGroupType,
chosenCarGroup: 'wagon-passenger' as WagonGroupType,
@@ -126,7 +124,6 @@ export const useStore = defineStore({
try {
const vehiclesData = (await http.get<IVehiclesData>('/vehicles')).data;
this.vehiclesData = vehiclesData;
} catch (error) {
console.error(error);
}