mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-12-23 13:13:00 +00:00
minor improvements
This commit is contained in:
parent
7bc0ad21ba
commit
d66019f53c
2 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue