From c8999215914ac22dabac01b61766d32bd819dc7d Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Wed, 15 Feb 2023 22:49:39 +0530 Subject: [PATCH] fix: label (#7119) --- apps/web/components/eventtype/EventSetupTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index 5383f8f8da..4f427e2874 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -199,7 +199,7 @@ export const EventSetupTab = ( // We dont want to translate the string link - it doesnt exist in common.json and it gets prefixed/suffixed with __ or // const eventLabel = eventLocationType.defaultValueVariable === "link" - ? location[eventLocationType.defaultValueVariable] + ? eventLocationType.label : t(location[eventLocationType.defaultValueVariable] || eventLocationType.label); return (