|
@ -50,6 +50,7 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
updateRoute () { |
|
|
updateRoute () { |
|
|
this.$router.push(`/${this.where}/${this.when}`) |
|
|
this.$router.push(`/${this.where}/${this.when}`) |
|
|
|
|
|
window.localStorage.setItem('where', this.where) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
filters: { |
|
|
filters: { |
|
@ -61,6 +62,9 @@ export default { |
|
|
today () { |
|
|
today () { |
|
|
return '' + new Date().getDay() |
|
|
return '' + new Date().getDay() |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
created () { |
|
|
|
|
|
this.where = window.localStorage.getItem('where') || 'zentralmensa' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|