From c718ab7d42dbbfaf82a6235447df94da70c12029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 12 Sep 2023 14:55:08 +0000 Subject: [PATCH] UI: one-indexed days --- ui/src/components/Calendar.vue | 4 ++-- ui/src/components/ConfigView.vue | 18 ++++++++++-------- ui/src/components/DoorMapEditor.vue | 4 ---- ui/src/components/editor/PreviewDoor.vue | 7 ++++--- ui/src/lib/door.ts | 10 ++++++---- 5 files changed, 22 insertions(+), 21 deletions(-) diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index e6d1930..2345beb 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -50,8 +50,8 @@ export default class extends Vue { multi_modal: MultiModal; }; - public door_hover(index: number) { - this.figure_caption = `Türchen ${index + 1}`; + public door_hover(day: number) { + this.figure_caption = `Türchen ${day}`; } public door_unhover() { diff --git a/ui/src/components/ConfigView.vue b/ui/src/components/ConfigView.vue index 7ac3994..60221f7 100644 --- a/ui/src/components/ConfigView.vue +++ b/ui/src/components/ConfigView.vue @@ -16,11 +16,12 @@
Reihenfolge