minor improvements

This commit is contained in:
Jörn-Michael Miehe 2023-11-24 00:59:10 +01:00
parent 7bc0ad21ba
commit d66019f53c
2 changed files with 2 additions and 1 deletions

View file

@ -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()

View file

@ -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);