Poprawki tabeli

This commit is contained in:
2021-06-29 19:12:22 +02:00
parent 668e2027f9
commit e6f0a16387
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -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
View File
@@ -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[]) {