From 9d7722fc7d04b5143d5d4c2d01bb9503eeb4bf22 Mon Sep 17 00:00:00 2001 From: Brice-W Date: Tue, 3 Aug 2021 15:18:25 +1000 Subject: [PATCH] don't display the name input box for public groups as they can't be modified atm --- .../conversation/UpdateGroupNameDialog.tsx | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/ts/components/conversation/UpdateGroupNameDialog.tsx b/ts/components/conversation/UpdateGroupNameDialog.tsx index 5fda7e693..32c97f1e7 100644 --- a/ts/components/conversation/UpdateGroupNameDialog.tsx +++ b/ts/components/conversation/UpdateGroupNameDialog.tsx @@ -99,18 +99,21 @@ export class UpdateGroupNameDialog extends React.Component { {this.renderAvatar()} - + {isAdmin ? ( + <> + + + ) : null}