Compare commits
No commits in common. "859f9586d382b7324f45630721ac36b3ec88105d" and "b734dee575a2b55ab4de838b541dec8bb170ed4b" have entirely different histories.
859f9586d3
...
b734dee575
5 changed files with 8 additions and 25 deletions
|
@ -91,7 +91,7 @@ export default class extends Vue {
|
|||
if (this.store.user_doors.length === 0) return;
|
||||
|
||||
this.toast!.show({ duration: 600000, type: "is-warning" });
|
||||
}, 10e3);
|
||||
}, 10000);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<template v-if="store.is_initialized === true">
|
||||
<template v-if="store.user_doors.length > 0">
|
||||
<Calendar :doors="store.user_doors" />
|
||||
<hr />
|
||||
<div class="content" v-html="store.site_config.content" />
|
||||
|
@ -8,13 +8,8 @@
|
|||
Alle {{ store.user_doors.length }} Türchen offen!
|
||||
</template>
|
||||
<template v-else>
|
||||
<template v-if="store.user_doors.length === 0">
|
||||
Zeit bis zum ersten Türchen:
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||
Türchen:
|
||||
</template>
|
||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||
Türchen:
|
||||
<CountDown :until="store.next_door_target" />
|
||||
</template>
|
||||
</div>
|
||||
|
|
|
@ -150,13 +150,7 @@ export default class extends Vue {
|
|||
this.loading_doors = true;
|
||||
|
||||
this.load_doors()
|
||||
.then(() =>
|
||||
toast({
|
||||
message: "Erfolgreich!",
|
||||
type: "is-success",
|
||||
duration: 2e3,
|
||||
}),
|
||||
)
|
||||
.then(() => toast({ message: "Erfolgreich!", type: "is-success" }))
|
||||
.catch(() => {})
|
||||
.finally(() => (this.loading_doors = false));
|
||||
}
|
||||
|
@ -176,13 +170,7 @@ export default class extends Vue {
|
|||
this.save_doors()
|
||||
.then(() => {
|
||||
this.load_doors()
|
||||
.then(() =>
|
||||
toast({
|
||||
message: "Erfolgreich!",
|
||||
type: "is-success",
|
||||
duration: 2e3,
|
||||
}),
|
||||
)
|
||||
.then(() => toast({ message: "Erfolgreich!", type: "is-success" }))
|
||||
.catch(() => {})
|
||||
.finally(() => (this.saving_doors = false));
|
||||
})
|
||||
|
|
|
@ -19,7 +19,7 @@ advent22Store().init();
|
|||
app.mount("#app");
|
||||
|
||||
bulmaToast.setDefaults({
|
||||
duration: 10e3,
|
||||
duration: 10000,
|
||||
pauseOnHover: true,
|
||||
dismissible: true,
|
||||
closeOnClick: false,
|
||||
|
|
|
@ -8,7 +8,7 @@ export class Advent22 {
|
|||
|
||||
public constructor() {
|
||||
this.axios = axios.create({
|
||||
timeout: 10e3,
|
||||
timeout: 10000,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue