mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Przywrócono dynamiczne odświeżanie
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user