From b63bd5ea5453c08d05dd6002c5c6c6d704647b00 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 7 Jan 2019 14:59:00 +0100 Subject: [PATCH] allow right panel to be hidden (although container is still visible) --- src/components/structures/GroupGridView.js | 4 ++-- src/components/structures/LoggedInView.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/GroupGridView.js b/src/components/structures/GroupGridView.js index b80eeced0c..ece4e5fa23 100644 --- a/src/components/structures/GroupGridView.js +++ b/src/components/structures/GroupGridView.js @@ -97,8 +97,8 @@ export default class RoomGridView extends React.Component { if (activeRoomId) { rightPanel = (
-
- +
+ { !this.props.collapsedRhs ? : undefined }
); } diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index 74274a5be2..67d7d41701 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -452,7 +452,7 @@ const LoggedInView = React.createClass({ />; break; case PageTypes.GroupGridView: - page_element = ; + page_element = ; break; case PageTypes.UserSettings: page_element =