created() {
this.$store.watch(
(state) => (state.filter.settings),
() => {
$router.push({name: "planner", query: {
"color": this.settings.color
}})
this.$store.dispatch('filter/GET')
},
{
deep:true
})
},
beforeRouteEnter(to,from,next) {
$router.query = to.query
next()
},