mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Poprawki tabeli
This commit is contained in:
@@ -280,10 +280,9 @@ export default defineComponent({
|
|||||||
() => store.getters[GETTERS.dataStatus]
|
() => store.getters[GETTERS.dataStatus]
|
||||||
);
|
);
|
||||||
|
|
||||||
const isDataLoaded = () =>
|
const isDataLoaded = computed(() => {
|
||||||
computed(() => {
|
return dataConnectionStatus.value == DataStatus.Loaded;
|
||||||
dataConnectionStatus.value == DataStatus.Loaded;
|
});
|
||||||
});
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isDataLoaded,
|
isDataLoaded,
|
||||||
|
|||||||
+1
-1
@@ -342,7 +342,7 @@ export const store = createStore<State>({
|
|||||||
});
|
});
|
||||||
|
|
||||||
state.stationCount = state.stationList.filter(station => station.online).length;
|
state.stationCount = state.stationList.filter(station => station.online).length;
|
||||||
state.dataConnectionStatus = DataStatus.Loaded;
|
state.dataConnectionStatus = DataStatus.Loaded;
|
||||||
},
|
},
|
||||||
|
|
||||||
UPDATE_TRAINS(state, updatedTrainList: any[]) {
|
UPDATE_TRAINS(state, updatedTrainList: any[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user