From b7569a983158b756b60a4a7fd94ed83f0d8b0ca7 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Mon, 21 Aug 2017 15:29:11 +0100 Subject: [PATCH] Revert auxPanel changes (this should already have been fixed in a separate PR). --- src/components/views/rooms/AuxPanel.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/views/rooms/AuxPanel.js b/src/components/views/rooms/AuxPanel.js index 69fe209580..a50743a25d 100644 --- a/src/components/views/rooms/AuxPanel.js +++ b/src/components/views/rooms/AuxPanel.js @@ -129,10 +129,7 @@ module.exports = React.createClass({ ); let appsDrawer = null; - let appCount = 0; if(UserSettingsStore.isFeatureEnabled('matrix_apps') && this.props.showApps) { - const appsStateEvents = this.props.room.currentState.getStateEvents('im.vector.modular.widgets'); - if (appsStateEvents) appCount = appsStateEvents.length; appsDrawer = +
{ appsDrawer } { fileDropTarget } { callView }