Make map update according to user preferences

This commit is contained in:
Conor McNamara
2023-03-15 18:49:52 +00:00
parent 89dcd43afe
commit f3ea627bab

View File

@ -175,12 +175,15 @@ export default {
this.showRunning = response.data.data["showRunning"] this.showRunning = response.data.data["showRunning"]
this.showTerminated = response.data.data["showTerminated"] this.showTerminated = response.data.data["showTerminated"]
this.showNotYetRunning = response.data.data["showNotYetRunning"] this.showNotYetRunning = response.data.data["showNotYetRunning"]
// update the map with these preferences
this.decideShowStations()
this.decideShowTrains()
} }
}) })
.catch((error) => { .catch((error) => {
console.log(error.message) console.log(error.message)
}) })
}, },
postPreferences() { postPreferences() {