fix dynamic location variable (#5345)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
1 parent
06eca4b28a
commit
b629333eb8
1 file changed
+1
-1
@@ -20,7 +20,7 @@ const customTemplate = async (text: string, variables: VariablesType, locale: st
|
||||
let locationString = variables.location || "";
|
||||
|
||||
if (text.includes("{LOCATION}")) {
|
||||
locationString = guessEventLocationType(locationString)?.label || "";
|
||||
locationString = guessEventLocationType(locationString)?.label || locationString;
|
||||
}
|
||||
|
||||
let dynamicText = text
|
||||
|
||||
Reference in new issue
Block a user