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.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() {
|
||||||
|
Reference in New Issue
Block a user