diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 59cbb02..d4ae5b5 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -280,10 +280,9 @@ export default defineComponent({ () => store.getters[GETTERS.dataStatus] ); - const isDataLoaded = () => - computed(() => { - dataConnectionStatus.value == DataStatus.Loaded; - }); + const isDataLoaded = computed(() => { + return dataConnectionStatus.value == DataStatus.Loaded; + }); return { isDataLoaded, diff --git a/src/store/index.ts b/src/store/index.ts index 352bc55..798f978 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -342,7 +342,7 @@ export const store = createStore({ }); state.stationCount = state.stationList.filter(station => station.online).length; - state.dataConnectionStatus = DataStatus.Loaded; + state.dataConnectionStatus = DataStatus.Loaded; }, UPDATE_TRAINS(state, updatedTrainList: any[]) {