From 561709644d3eec908ceb14af4d7e0948d463cd8f Mon Sep 17 00:00:00 2001 From: Oleksandr Zhurbenko <xaerok.od.ua@gmail.com> Date: Mon, 6 Nov 2017 10:24:10 -0800 Subject: [PATCH] Fixed a bug with props in the polling container --- .../imports/ui/components/polling/container.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/polling/container.jsx b/bigbluebutton-html5/imports/ui/components/polling/container.jsx index 9e68038cc2..02541c21d6 100644 --- a/bigbluebutton-html5/imports/ui/components/polling/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/polling/container.jsx @@ -3,9 +3,11 @@ import { createContainer } from 'meteor/react-meteor-data'; import PollingService from './service'; import PollingComponent from './component'; -const PollingContainer = (props, { pollExists, poll, handleVote }) => { +const PollingContainer = ({ + pollExists, poll, handleVote, ...props +}) => { if (!pollExists) return null; - return <PollingComponent poll={poll} handleVote={handleVote} />; + return <PollingComponent poll={poll} handleVote={handleVote} {...props} />; }; export default createContainer(() => { const data = PollingService.mapPolls(); -- GitLab