Przywrócono dynamiczne odświeżanie

This commit is contained in:
2020-07-19 20:23:36 +02:00
parent b1072e6956
commit ae126040d8
+2
View File
@@ -109,6 +109,8 @@ class Store extends VuexModule {
public initStations() {
this.context.commit('loadAllStations');
this.context.dispatch('fetchStations');
setInterval(() => this.context.dispatch('fetchStations'), 15000);
}
@Action