fix: label (#7119)

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