Improvements to Group Settings screen
This commit is contained in:
parent
dfa5005e7d
commit
12bba24dbd
11 changed files with 146 additions and 79 deletions
|
@ -26,11 +26,13 @@ const mapStateToProps = (
|
|||
props: SmartGroupLinkManagementProps
|
||||
): PropsType => {
|
||||
const conversation = getConversationSelector(state)(props.conversationId);
|
||||
const isAdmin = Boolean(conversation?.areWeAdmin);
|
||||
|
||||
return {
|
||||
...props,
|
||||
conversation,
|
||||
i18n: getIntl(state),
|
||||
isAdmin,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue