Skip to content

Commit

Permalink
fix edit roles not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
SupertigerDev committed Dec 11, 2024
1 parent e190a90 commit 5c139fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/member-context-menu/MemberContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export default function MemberContextMenu(props: Props) {
const createArr = [];

hasNicknamePermission && createArr.push(nickname);
if (hasManageRolePermission) {
createArr.push(editRoles);
}
if (hasBanPermission || hasKickPermission) {
createArr.push(separator);
}
Expand Down

0 comments on commit 5c139fb

Please sign in to comment.