diff --git a/public/js/components/Cis/LvPlan/Lehrveranstaltung.js b/public/js/components/Cis/LvPlan/Lehrveranstaltung.js index 87f82eb0e..3a215596c 100644 --- a/public/js/components/Cis/LvPlan/Lehrveranstaltung.js +++ b/public/js/components/Cis/LvPlan/Lehrveranstaltung.js @@ -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);