From dd2fd6421bbed2a74dd72bc55da636376ffcc711 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Thu, 7 May 2026 17:23:28 +0200 Subject: [PATCH] clean lv plan reactions to ismobile changes --- public/js/components/Cis/LvPlan/Lehrveranstaltung.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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);