Skip to content
Snippets Groups Projects
Commit 97ee9932 authored by KDSBrowne's avatar KDSBrowne
Browse files

add else blocks

parent f5a928e2
No related branches found
No related tags found
No related merge requests found
......@@ -164,18 +164,27 @@ class PanelManager extends Component {
];
if (openPanel === 'chat') {
if (enableResize) resizablePanels.push(this.renderChatResizable());
if (!enableResize) panels.push(this.renderChat());
if (enableResize) {
resizablePanels.push(this.renderChatResizable());
} else {
panels.push(this.renderChat());
}
}
if (openPanel === 'poll') {
if (enableResize) resizablePanels.push(this.renderPoll());
if (!enableResize) panels.push(this.renderPoll());
if (enableResize) {
resizablePanels.push(this.renderPoll());
} else {
panels.push(this.renderPoll());
}
}
if (openPanel === 'breakoutroom') {
if (enableResize) resizablePanels.push(this.renderBreakoutRoom());
if (!enableResize) panels.push(this.renderBreakoutRoom());
if (enableResize) {
resizablePanels.push(this.renderBreakoutRoom());
} else {
panels.push(this.renderBreakoutRoom());
}
}
return enableResize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment