mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-07 11:20:39 -05:00
fix: NPS question issue
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ export default function ResponseTimeline({
|
||||
// iterate over survey questions and build the updated response
|
||||
for (const question of survey.questions) {
|
||||
const answer = response.data[question.id];
|
||||
if (answer) {
|
||||
if (answer !== null && answer !== undefined) {
|
||||
updatedResponse.push({
|
||||
id: createId(),
|
||||
question: question.headline,
|
||||
|
||||
Reference in New Issue
Block a user