mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-16 21:10:26 +08:00
fix(results): 🐛 Missing content
This commit is contained in:
parent
b9032b422c
commit
bd2b906bd3
@ -173,9 +173,9 @@ export const convertResultsToTableData = (
|
||||
}
|
||||
}
|
||||
const variable = answerOrVariable as VariableWithValue
|
||||
if (isDefined(o[variable.id])) return o
|
||||
const key = headerCells.find((h) => h.variableId === variable.id)?.label
|
||||
if (!key) return o
|
||||
if (isDefined(o[key])) return o
|
||||
return {
|
||||
...o,
|
||||
[key]: { plainText: variable.value },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user