Skip to content

Commit

Permalink
Merge pull request #12603 from germanocaumo/v2.3.x-release
Browse files Browse the repository at this point in the history
fix(poll): missed test for polls with > 5 default answers
  • Loading branch information
antobinary committed Jun 17, 2021
2 parents eabefc4 + e252012 commit e3ae906
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -259,7 +259,7 @@ class PollDrawComponent extends Component {
const _tempArray = [];
const _result = reducedResult[i];

if (isDefaultPoll) {
if (isDefaultPoll && pollAnswerIds[_result.key.toLowerCase()]) {
_result.key = intl.formatMessage(pollAnswerIds[_result.key.toLowerCase()]);
}

Expand Down

0 comments on commit e3ae906

Please sign in to comment.