Skip to content

Commit

Permalink
fix unable to see answer in find the expert (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
JurreBrandsenInfoSupport authored May 28, 2024
1 parent 4afb8b2 commit eeabae9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/data-manipulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ const pushUserData = (
userMap[entry.userId]!.communicationPreferences?.length > 0
? userMap[entry.userId]?.communicationPreferences
: ["Do not contact"],
answer:
(answerOptionMap[entry.answerId] as { answer?: string })?.answer ??
"Unknown Answer",
answer: answerOptionMap[entry.answerId] ?? "Unknown Answer",
});
};

Expand Down

0 comments on commit eeabae9

Please sign in to comment.