You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
pr feedback
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = React.createClass({
|
||||
brand: React.PropTypes.string,
|
||||
|
||||
// True to show the 'labs' section of experimental features
|
||||
enableLabs: React.PropTypes.boolean,
|
||||
enableLabs: React.PropTypes.bool,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
@@ -363,7 +363,7 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
_renderLabs: function () {
|
||||
if (!this.props.enableLabs) return false;
|
||||
if (this.props.enableLabs === false) return null;
|
||||
|
||||
let features = LABS_FEATURES.map(feature => (
|
||||
<div key={feature.id} className="mx_UserSettings_toggle">
|
||||
|
||||
Reference in New Issue
Block a user