2
0

🐛 (viewer) Save new variables even if empty list

This commit is contained in:
Baptiste Arnaud
2022-11-28 12:10:52 +01:00
parent 3e80af638b
commit 49ba434350

View File

@ -91,7 +91,6 @@ export const TypebotPage = ({
}, [resultId])
const handleNewVariables = async (variables: VariableWithValue[]) => {
if (variables.length === 0) return
if (!resultId)
return setVariableUpdateQueue([...variableUpdateQueue, variables])
await sendNewVariables(resultId)(variables)