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),
|
event_dates: EventDates = Depends(get_all_event_dates),
|
||||||
) -> list[int]:
|
) -> list[int]:
|
||||||
"""
|
"""
|
||||||
Anzahl der user-sichtbaren Türchen
|
User-sichtbare Türchen
|
||||||
"""
|
"""
|
||||||
|
|
||||||
today = date.today()
|
today = date.today()
|
||||||
|
|
|
@ -89,6 +89,7 @@ export default class extends Vue {
|
||||||
this.store.when_initialized(() => {
|
this.store.when_initialized(() => {
|
||||||
this.toast_timeout = setTimeout(() => {
|
this.toast_timeout = setTimeout(() => {
|
||||||
if (this.store.user_doors.length === 0) return;
|
if (this.store.user_doors.length === 0) return;
|
||||||
|
if (this.store.is_touch_device) return;
|
||||||
|
|
||||||
this.toast!.show({ duration: 600000, type: "is-warning" });
|
this.toast!.show({ duration: 600000, type: "is-warning" });
|
||||||
}, 10e3);
|
}, 10e3);
|
||||||
|
|
Loading…
Reference in a new issue