diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx index 6e43bc0c2a33a119d50df0ea7c936dcb28e25824..39abcaaa771a810a51bb6a586afeb6f6b092f135 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx @@ -186,11 +186,11 @@ class ActionsDropdown extends PureComponent { podIds, } = this.props; - let podId = null; - if (podIds) { - const defaultPodId = podIds[0].podId; - podId = podIds.length > 0 ? defaultPodId : null; - } + if (!podIds || podIds.length < 1) return []; + + // We still have code for other pods from the Flash client. This intentionally only cares + // about the first one because it's the default. + const { podId } = podIds[0]; const presentationItemElements = presentations.map((p) => { const itemStyles = {};