mirror of https://github.com/vector-im/riot-web
Merge pull request #1908 from vector-im/rav/silence_warning
Fix a warning from RoomSubListpull/1906/merge
commit
d21e4fb86a
|
@ -61,8 +61,12 @@ var RoomSubList = React.createClass({
|
||||||
label: React.PropTypes.string.isRequired,
|
label: React.PropTypes.string.isRequired,
|
||||||
tagName: React.PropTypes.string,
|
tagName: React.PropTypes.string,
|
||||||
editable: React.PropTypes.bool,
|
editable: React.PropTypes.bool,
|
||||||
|
|
||||||
order: React.PropTypes.string.isRequired,
|
order: React.PropTypes.string.isRequired,
|
||||||
selectedRoom: React.PropTypes.string.isRequired,
|
|
||||||
|
// undefined if no room is selected (eg we are showing settings)
|
||||||
|
selectedRoom: React.PropTypes.string,
|
||||||
|
|
||||||
startAsHidden: React.PropTypes.bool,
|
startAsHidden: React.PropTypes.bool,
|
||||||
showSpinner: React.PropTypes.bool, // true to show a spinner if 0 elements when expanded
|
showSpinner: React.PropTypes.bool, // true to show a spinner if 0 elements when expanded
|
||||||
collapsed: React.PropTypes.bool.isRequired, // is LeftPanel collapsed?
|
collapsed: React.PropTypes.bool.isRequired, // is LeftPanel collapsed?
|
||||||
|
|
Loading…
Reference in New Issue