Fix linting

Signed-off-by: Andrew (anoa) <anoa@openmailbox.org>
This commit is contained in:
Andrew (anoa) 2017-10-24 16:37:23 -07:00
parent f032284eff
commit 9821f0d459
No known key found for this signature in database
GPG Key ID: 174BEAB009FD176D

View File

@ -81,12 +81,12 @@ module.exports = React.createClass({
},
onAction: function(action) {
const widgetStateKey = this.props.room.roomId + "_show_widget_drawer";
switch (action.action) {
case 'appsDrawer':
// When opening the app drawer when there aren't any apps,
// auto-launch the integrations manager to skip the awkward
// click on "Add widget"
let widgetStateKey = this.props.room.roomId + "_show_widget_drawer";
if (action.show) {
const apps = this._getApps();
if (apps.length === 0) {