pull/1793/head
Brice-W 4 years ago
parent a6aed4d7d1
commit eb3851592c

@ -249,10 +249,9 @@ export const SessionRightPanelWithDetails = () => {
}; };
}); });
const showUpdateGroupNameButton = isGroup && (!isPublic || isPublic && weAreAdmin) && !commonNoShow; const showUpdateGroupNameButton =
isGroup && (!isPublic || (isPublic && weAreAdmin)) && !commonNoShow;
const showAddRemoveModeratorsButton = weAreAdmin && !commonNoShow && isPublic; const showAddRemoveModeratorsButton = weAreAdmin && !commonNoShow && isPublic;
const showUpdateGroupMembersButton = !isPublic && isGroup && !commonNoShow; const showUpdateGroupMembersButton = !isPublic && isGroup && !commonNoShow;
const deleteConvoAction = isPublic const deleteConvoAction = isPublic

Loading…
Cancel
Save