Fix: fix crash in collection times picker

This commit is contained in:
Pieter Vander Vennet 2025-08-15 02:30:12 +02:00
parent b61bc6de7c
commit e2fc678ec9
2 changed files with 5 additions and 1 deletions

View file

@ -22,6 +22,9 @@
"retrying": "Loading data failed. Trying again in {count} seconds…", "retrying": "Loading data failed. Trying again in {count} seconds…",
"zoomIn": "Zoom in to view or edit the data" "zoomIn": "Zoom in to view or edit the data"
}, },
"collectionTimes": {
"addTime": "Add moment"
},
"communityIndex": { "communityIndex": {
"available": "This community speaks {native}", "available": "This community speaks {native}",
"intro": "Get in touch with other people to get to know them, learn from them, …", "intro": "Get in touch with other people to get to know them, learn from them, …",

View file

@ -8,6 +8,7 @@
import { OH } from "../../../OpeningHours/OpeningHours" import { OH } from "../../../OpeningHours/OpeningHours"
import { Lists } from "../../../../Utils/Lists" import { Lists } from "../../../../Utils/Lists"
import { Translation } from "../../../i18n/Translation" import { Translation } from "../../../i18n/Translation"
import PlusCircle from "@babeard/svelte-heroicons/mini/PlusCircle"
export let value: UIEventSource<string> export let value: UIEventSource<string>
@ -114,7 +115,7 @@
}} }}
> >
<PlusCircle class="h-6 w-6" /> <PlusCircle class="h-6 w-6" />
Add time <Tr t={Translations.t.collectionTimes.addTime} />
</button> </button>
</div> </div>
<div class="flex w-fit flex-wrap"> <div class="flex w-fit flex-wrap">