mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
pass the RoomViewStore down with a prop instead of global var.
this will allow to have more than 1 RoomView further on
This commit is contained in:
@@ -429,6 +429,7 @@ const LoggedInView = React.createClass({
|
||||
switch (this.props.page_type) {
|
||||
case PageTypes.RoomView:
|
||||
page_element = <RoomView
|
||||
roomViewStore={OpenRoomsStore.getCurrentRoomStore()}
|
||||
ref='roomView'
|
||||
autoJoin={this.props.autoJoin}
|
||||
onRegistered={this.props.onRegistered}
|
||||
|
||||
Reference in New Issue
Block a user