From 5471431ee5bb204eeaec1510dc88cbaf18642d78 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 20 Sep 2017 17:02:20 +0100 Subject: [PATCH] Disable "Add a Room" button for when we have a room picker --- src/components/structures/GroupView.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index bced15f4e5..3dea220111 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -57,7 +57,6 @@ const CategoryRoomList = React.createClass({ }, render: function() { - const TintableSvg = sdk.getComponent("elements.TintableSvg"); const roomNodes = this.props.rooms.map((r) => { return ; }); @@ -69,13 +68,15 @@ const CategoryRoomList = React.createClass({ return
{catHeader} {roomNodes} - - -
- {_t('Add a Room')} -
-
; + // TODO: Modify UserPickerDialog to allow picking of rooms, and then use it here + // const TintableSvg = sdk.getComponent("elements.TintableSvg"); + // + // + //
+ // {_t('Add a Room')} + //
+ //
}, });