mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawki tabeli
This commit is contained in:
@@ -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,
|
||||
|
||||
+1
-1
@@ -342,7 +342,7 @@ export const store = createStore<State>({
|
||||
});
|
||||
|
||||
state.stationCount = state.stationList.filter(station => station.online).length;
|
||||
state.dataConnectionStatus = DataStatus.Loaded;
|
||||
state.dataConnectionStatus = DataStatus.Loaded;
|
||||
},
|
||||
|
||||
UPDATE_TRAINS(state, updatedTrainList: any[]) {
|
||||
|
||||
Reference in New Issue
Block a user