mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Dodano szlaki zewnętrzne dla RJ scenerii
This commit is contained in:
+3
-2
@@ -56,7 +56,7 @@ export const useStore = defineStore('store', {
|
||||
setTrainsOnlineData() {
|
||||
const { trains } = this.apiData;
|
||||
|
||||
if (!trains) return [];
|
||||
if (!trains) return [];
|
||||
|
||||
this.trainList = trains
|
||||
.filter(
|
||||
@@ -377,10 +377,11 @@ export const useStore = defineStore('store', {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
this.dataStatuses.sceneries = DataStatus.Loaded;
|
||||
this.dataStatuses.trains = !this.apiData.trains ? DataStatus.Warning : DataStatus.Loaded;
|
||||
this.dataStatuses.dispatchers = !this.apiData.dispatchers ? DataStatus.Warning : DataStatus.Loaded;
|
||||
|
||||
|
||||
this.setTrainsOnlineData();
|
||||
this.setStationsOnlineInfo();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user