mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-11 10:49:08 +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;
|
break;
|
||||||
case 'appsDrawer':
|
case 'appsDrawer':
|
||||||
this.setState({
|
this.setState({
|
||||||
showApps: payload.show ? true : false,
|
showApps: payload.show,
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue