From 68e4f318f35678eb4be524df6d9d342ebf84b6e8 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 17 Jan 2020 12:17:12 +1100 Subject: [PATCH] hide edit button on leftpane --- ts/components/session/LeftPaneChannelSection.tsx | 5 +++-- ts/components/session/LeftPaneContactSection.tsx | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ts/components/session/LeftPaneChannelSection.tsx b/ts/components/session/LeftPaneChannelSection.tsx index a556165c2..de9909efa 100644 --- a/ts/components/session/LeftPaneChannelSection.tsx +++ b/ts/components/session/LeftPaneChannelSection.tsx @@ -270,14 +270,15 @@ export class LeftPaneChannelSection extends React.Component { private renderBottomButtons(): JSX.Element { const edit = window.i18n('edit'); const addChannel = window.i18n('addChannel'); + const showEditButton = false; return (
- + />} { const edit = window.i18n('edit'); const addContact = window.i18n('addContact'); const createGroup = window.i18n('createGroup'); + const showEditButton = false; return (
- + />} {selectedTab === 0 ? (