|
|
@ -30,7 +30,7 @@ export default { |
|
|
|
this.$router.replace(this.$route.fullPath + '/') |
|
|
|
} |
|
|
|
if (!this.$route.params.tag) { |
|
|
|
this.$router.push('' + new Date().getDay()) |
|
|
|
this.$router.push('' + (new Date().getDay() || 1)) |
|
|
|
} |
|
|
|
this.loadMeals() |
|
|
|
} |
|
|
@ -43,7 +43,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
created () { |
|
|
|
this.$router.replace(`/zentralmensa/${new Date().getDay()}`) |
|
|
|
this.$router.replace(`/zentralmensa/${new Date().getDay() || 1}`) |
|
|
|
this.loadMeals() |
|
|
|
} |
|
|
|
} |
|
|
|