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

View file

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