mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-10 00:29:27 +00:00
clean lv plan reactions to ismobile changes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user