fix: label (#7119)

This commit is contained in:
Nafees Nazik authored and GitHub committed 2023-02-15 17:19:39 +00:00
1 parent ea34545d72
commit c899921591
1 file changed
+1 -1
@@ -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 (