mirror of https://github.com/vector-im/riot-web
Simplify boolean assignment.
parent
06dafdc099
commit
ff1636aaf5
|
@ -465,7 +465,7 @@ module.exports = React.createClass({
|
|||
break;
|
||||
case 'appsDrawer':
|
||||
this.setState({
|
||||
showApps: payload.show ? true : false,
|
||||
showApps: payload.show,
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue