From e252012bd54187807ca9b21213fbdfffe990eff7 Mon Sep 17 00:00:00 2001 From: germanocaumo <germanocaumo@gmail.com> Date: Wed, 16 Jun 2021 23:16:28 +0000 Subject: [PATCH] fix(poll): missed test for polls with > 5 default answers --- .../ui/components/whiteboard/annotations/poll/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/annotations/poll/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/annotations/poll/component.jsx index 56ff52db43..c7e70008b3 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/annotations/poll/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/annotations/poll/component.jsx @@ -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()]); } -- GitLab