mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
get rid of obsolete showEmpty prop
This commit is contained in:
@@ -56,7 +56,6 @@ const RoomSubList = React.createClass({
|
|||||||
emptyContent: PropTypes.node, // content shown if the list is empty
|
emptyContent: PropTypes.node, // content shown if the list is empty
|
||||||
headerItems: PropTypes.node, // content shown in the sublist header
|
headerItems: PropTypes.node, // content shown in the sublist header
|
||||||
extraTiles: PropTypes.arrayOf(PropTypes.node), // extra elements added beneath tiles
|
extraTiles: PropTypes.arrayOf(PropTypes.node), // extra elements added beneath tiles
|
||||||
showEmpty: PropTypes.bool,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
@@ -72,7 +71,6 @@ const RoomSubList = React.createClass({
|
|||||||
}, // NOP
|
}, // NOP
|
||||||
extraTiles: [],
|
extraTiles: [],
|
||||||
isInvite: false,
|
isInvite: false,
|
||||||
showEmpty: true,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -508,7 +508,6 @@ module.exports = React.createClass({
|
|||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
collapsed: self.props.collapsed,
|
collapsed: self.props.collapsed,
|
||||||
searchFilter: self.props.searchFilter,
|
searchFilter: self.props.searchFilter,
|
||||||
showEmpty: showEmpty,
|
|
||||||
incomingCall: self.state.incomingCall,
|
incomingCall: self.state.incomingCall,
|
||||||
};
|
};
|
||||||
return subListsProps.reduce((components, props, i) => {
|
return subListsProps.reduce((components, props, i) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user