2
0

🐛 (transcript) Fix variable ids for history detection

This commit is contained in:
Baptiste Arnaud
2024-06-26 11:52:22 +02:00
parent 3b405dc7d5
commit dd191e3525
2 changed files with 1 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ export const getVariablesToParseInfoInText = (
if (isNotDefined(match.index) || !match[0].length) return
const matchedVarName = match[1] ?? match[3]
const variable = variables.find((variable) => {
return matchedVarName === variable.name && isDefined(variable.value)
return matchedVarName === variable.name
}) as VariableWithValue | undefined
variablesToParseInfo.push({
startIndex: match.index,