clean lv plan reactions to ismobile changes

This commit is contained in:
adisposkofh
2026-05-07 17:23:28 +02:00
parent 3b99a14b47
commit dd2fd6421b
@@ -54,6 +54,17 @@ export default {
return this.lv.bezeichnung;
}
},
watch: {
async isMobile() {
await this.$nextTick();
this.handleChangeMode(
this.currentMode,
luxon.DateTime.fromISO(this.currentDay, {
zone: this.timezone,
}),
);
},
},
methods: {
handleChangeDate(day, newMode) {
return this.handleChangeMode(newMode, day);