diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index 1932ed0..22bf6fc 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -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" }); - }, 10000); + }, 10e3); }); } diff --git a/ui/src/main.ts b/ui/src/main.ts index cf89026..5cfa95b 100644 --- a/ui/src/main.ts +++ b/ui/src/main.ts @@ -19,7 +19,7 @@ advent22Store().init(); app.mount("#app"); bulmaToast.setDefaults({ - duration: 10000, + duration: 10e3, pauseOnHover: true, dismissible: true, closeOnClick: false, diff --git a/ui/src/plugins/advent22.ts b/ui/src/plugins/advent22.ts index 55f53cf..8338b50 100644 --- a/ui/src/plugins/advent22.ts +++ b/ui/src/plugins/advent22.ts @@ -8,7 +8,7 @@ export class Advent22 { public constructor() { this.axios = axios.create({ - timeout: 10000, + timeout: 10e3, }); }