Skip to content

Commit

Permalink
Merge branch 'ui/add-resultats-page' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanngab committed Oct 25, 2023
2 parents 549febf + 5ce57ca commit 295a6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/campagnes/Components/ResultatsVisualisation.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const multiEmojiOption = (responses) => {
const removeHTMLTagRegex = /(<([^>]+)>)/gi;

const questions = [
...new Set(responses.map((response) => response.label.replace(removeHTMLTagRegex, ""))),
...new Set(responses.map((response) => response.label?.replace(removeHTMLTagRegex, ""))),
];

return {
Expand Down

0 comments on commit 295a6cb

Please sign in to comment.