AccountHeader: fix onDeleteUser
This commit is contained in:
parent
8334d278a2
commit
89a5f7b3d6
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ class Header extends ImmutablePureComponent {
|
||||||
});
|
});
|
||||||
menu.push({
|
menu.push({
|
||||||
text: intl.formatMessage(messages.deleteUser, { name: account.get('username') }),
|
text: intl.formatMessage(messages.deleteUser, { name: account.get('username') }),
|
||||||
|
action: this.props.onDeleteUser,
|
||||||
icon: require('@tabler/icons/icons/user-minus.svg'),
|
icon: require('@tabler/icons/icons/user-minus.svg'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue