mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 03:50:42 +03:00
Simplify boolean assignment.
This commit is contained in:
parent
06dafdc099
commit
ff1636aaf5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue