Fix linting
Signed-off-by: Andrew (anoa) <anoa@openmailbox.org>
This commit is contained in:
parent
f032284eff
commit
9821f0d459
1 changed files with 1 additions and 1 deletions
|
@ -81,12 +81,12 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onAction: function(action) {
|
onAction: function(action) {
|
||||||
|
const widgetStateKey = this.props.room.roomId + "_show_widget_drawer";
|
||||||
switch (action.action) {
|
switch (action.action) {
|
||||||
case 'appsDrawer':
|
case 'appsDrawer':
|
||||||
// When opening the app drawer when there aren't any apps,
|
// When opening the app drawer when there aren't any apps,
|
||||||
// auto-launch the integrations manager to skip the awkward
|
// auto-launch the integrations manager to skip the awkward
|
||||||
// click on "Add widget"
|
// click on "Add widget"
|
||||||
let widgetStateKey = this.props.room.roomId + "_show_widget_drawer";
|
|
||||||
if (action.show) {
|
if (action.show) {
|
||||||
const apps = this._getApps();
|
const apps = this._getApps();
|
||||||
if (apps.length === 0) {
|
if (apps.length === 0) {
|
||||||
|
|
Loading…
Reference in a new issue