web: People: Denied self removing by Owner
This commit is contained in:
parent
b4438b5be9
commit
e07895c1a4
@ -358,7 +358,9 @@ class SectionBodyContent extends React.PureComponent {
|
||||
onClick: this.onChangeEmailClick.bind(this, user.email)
|
||||
},
|
||||
isSelf
|
||||
? {
|
||||
? viewer.isOwner
|
||||
? {}
|
||||
: {
|
||||
key: "delete-profile",
|
||||
label: t("DeleteSelfProfile"),
|
||||
onClick: this.onDeleteSelfProfileClick.bind(this, user.email)
|
||||
|
Loading…
Reference in New Issue
Block a user