diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/create-breakout-room/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/create-breakout-room/component.jsx index c7e012bac9..f0f349136c 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/create-breakout-room/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/create-breakout-room/component.jsx @@ -353,9 +353,13 @@ class BreakoutRoom extends PureComponent { const { users } = this.state; const idxUser = users.findIndex(user => user.userId === userId); - users[idxUser].room = room; + + const usersCopy = [...users]; + + usersCopy[idxUser].room = room; + this.setState({ - users, + users: usersCopy, valid: this.getUserByRoom(0).length !== users.length, }); }