fix dynamic location variable (#5345)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>pull/5326/head
parent
06eca4b28a
commit
b629333eb8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue