Make map update according to user preferences
This commit is contained in:
@ -175,12 +175,15 @@ export default {
|
||||
this.showRunning = response.data.data["showRunning"]
|
||||
this.showTerminated = response.data.data["showTerminated"]
|
||||
this.showNotYetRunning = response.data.data["showNotYetRunning"]
|
||||
|
||||
// update the map with these preferences
|
||||
this.decideShowStations()
|
||||
this.decideShowTrains()
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error.message)
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
postPreferences() {
|
||||
|
Reference in New Issue
Block a user