Skip to content

Commit

Permalink
fix: managed event type string (#12891)
Browse files Browse the repository at this point in the history
* fix: managed event type string

* Update EventTypeSingleLayout.tsx

Updated the translation string with the right value.

* Update EventTypeSingleLayout.tsx

Bring back formMethods variable.

---------

Co-authored-by: Alex van Andel <[email protected]>
  • Loading branch information
ritiksharmarj and emrysal authored Dec 20, 2023
1 parent 95cc0ee commit 2693b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/components/eventtype/EventTypeSingleLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function EventTypeSingleLayout({
icon: Users,
info: `${t(eventType.schedulingType?.toLowerCase() ?? "")}${
isManagedEventType
? ` - ${t("count_members", { count: formMethods.watch("children").length || 0 })}`
? ` - ${t("number_member", { count: formMethods.watch("children").length || 0 })}`
: ""
}`,
});
Expand Down

0 comments on commit 2693b30

Please sign in to comment.