rework reaktywności danych z API i WS

This commit is contained in:
2023-10-30 23:19:17 +01:00
parent 12ece46089
commit 8de03b9210
24 changed files with 501 additions and 446 deletions
+4 -8
View File
@@ -33,19 +33,15 @@ export default defineComponent({
filterCardOpen: false,
modalHidden: true,
STORAGE_KEY: 'options_saved',
focusedStationName: ''
focusedStationName: '',
filterStore: useStationFiltersStore(),
store: useStore()
}),
setup() {
return {
filterStore: useStationFiltersStore(),
store: useStore()
};
},
computed: {
computedStationList() {
return this.filterStore.getFilteredStationList(this.store.stationList, this.store.region.id);
return this.filterStore.filteredStationList;
}
},