Update channel context menu

This commit is contained in:
Nate Butler 2023-08-15 18:36:23 -04:00
parent 1ffde7bddc
commit 28649fb71d
2 changed files with 8 additions and 15 deletions

View file

@ -1834,10 +1834,13 @@ impl CollabPanel {
},
vec![
ContextMenuItem::action("New Subchannel", NewChannel { channel_id }),
ContextMenuItem::action("Remove Channel", RemoveChannel { channel_id }),
ContextMenuItem::action("Manage members", ManageMembers { channel_id }),
ContextMenuItem::action("Invite members", InviteMembers { channel_id }),
ContextMenuItem::action("Rename Channel", RenameChannel { channel_id }),
ContextMenuItem::Separator,
ContextMenuItem::action("Invite to Channel", InviteMembers { channel_id }),
ContextMenuItem::Separator,
ContextMenuItem::action("Rename", RenameChannel { channel_id }),
ContextMenuItem::action("Manage", ManageMembers { channel_id }),
ContextMenuItem::Separator,
ContextMenuItem::action("Delete", RemoveChannel { channel_id }),
],
cx,
);