From 56db55681a16e96113cce8e8bb7b397e930e40cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 21 Nov 2023 23:22:28 +0000 Subject: [PATCH] "e" number formatting --- ui/src/components/Calendar.vue | 2 +- ui/src/main.ts | 2 +- ui/src/plugins/advent22.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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, }); }