From d66019f53cf663831f38ff4289bc10195ca614e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Fri, 24 Nov 2023 00:59:10 +0100 Subject: [PATCH] minor improvements --- api/advent22_api/routers/_security.py | 2 +- ui/src/components/Calendar.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);