Fix build after !1261

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-10-03 14:01:57 +02:00
parent 50c2d62af9
commit 4a16f572d8
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 4 additions and 4 deletions

View File

@ -59,16 +59,16 @@ export const eventMetaDataList: IEventMetadataDescription[] = [
{ {
icon: "smoking-off", icon: "smoking-off",
key: "mz:accessibility:smokeFree", key: "mz:accessibility:smokeFree",
label: i18n.t("Smoke free") as string, label: t("Smoke free") as string,
description: i18n.t( description: t(
"Whether smoking is prohibited during the event" "Whether smoking is prohibited during the event"
) as string, ) as string,
value: "false", value: "false",
type: EventMetadataType.BOOLEAN, type: EventMetadataType.BOOLEAN,
keyType: EventMetadataKeyType.PLAIN, keyType: EventMetadataKeyType.PLAIN,
choices: { choices: {
true: i18n.t("Smoke free") as string, true: t("Smoke free") as string,
false: i18n.t("Smoking allowed") as string, false: t("Smoking allowed") as string,
}, },
category: EventMetadataCategories.ACCESSIBILITY, category: EventMetadataCategories.ACCESSIBILITY,
}, },