diff --git a/src/App.vue b/src/App.vue index 241fba7..e6624b8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,6 +50,7 @@ export default { methods: { updateRoute () { this.$router.push(`/${this.where}/${this.when}`) + window.localStorage.setItem('where', this.where) } }, filters: { @@ -61,6 +62,9 @@ export default { today () { return '' + new Date().getDay() } + }, + created () { + this.where = window.localStorage.getItem('where') || 'zentralmensa' } }