diff --git a/api/advent22_api/routers/_security.py b/api/advent22_api/routers/_security.py index 2f5f390..6a6eb81 100644 --- a/api/advent22_api/routers/_security.py +++ b/api/advent22_api/routers/_security.py @@ -46,7 +46,7 @@ async def user_visible_days( event_dates: EventDates = Depends(get_all_event_dates), ) -> list[int]: """ - Anzahl der user-sichtbaren Türchen + User-sichtbare Türchen """ today = date.today() diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index 22bf6fc..fdd4d14 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -89,6 +89,7 @@ export default class extends Vue { this.store.when_initialized(() => { this.toast_timeout = setTimeout(() => { if (this.store.user_doors.length === 0) return; + if (this.store.is_touch_device) return; this.toast!.show({ duration: 600000, type: "is-warning" }); }, 10e3);