Control UI visibility in ProfileEditor
This commit is contained in:
parent
0fe797e511
commit
9b98e20a8c
4 changed files with 29 additions and 1 deletions
|
@ -18,6 +18,7 @@ import {
|
|||
getUsernameLinkColor,
|
||||
getUsernameLink,
|
||||
getUsernameLinkCorrupted,
|
||||
isInternalUser,
|
||||
} from '../selectors/items';
|
||||
import { getMe } from '../selectors/conversations';
|
||||
import { selectRecentEmojis } from '../selectors/emojis';
|
||||
|
@ -81,6 +82,7 @@ function mapStateToProps(
|
|||
usernameLinkColor,
|
||||
usernameLinkCorrupted,
|
||||
usernameLink,
|
||||
isUsernameDeletionEnabled: isInternalUser(state),
|
||||
|
||||
renderEditUsernameModalBody,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue