Merge pull request #12603 from germanocaumo/v2.3.x-release
fix(poll): missed test for polls with > 5 default answers
This commit is contained in:
commit
e3ae906034
@ -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()]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user