mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-25 11:42:30 +01:00
add invite context menu icon
This commit is contained in:
parent
1605f82251
commit
c9b0a79039
@ -65,6 +65,9 @@ function ChannelListItem({ guild, channel, isCategory, active }: Props) {
|
|||||||
onClick: () => {
|
onClick: () => {
|
||||||
openModal(CreateInviteModal, { guild_id: guild.id, channel_id: channel.id });
|
openModal(CreateInviteModal, { guild_id: guild.id, channel_id: channel.id });
|
||||||
},
|
},
|
||||||
|
iconProps: {
|
||||||
|
icon: "mdiAccountPlus",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -68,6 +68,9 @@ function GuildItem(props: Props) {
|
|||||||
onClick: () => {
|
onClick: () => {
|
||||||
openModal(CreateInviteModal, { guild_id: guild.id });
|
openModal(CreateInviteModal, { guild_id: guild.id });
|
||||||
},
|
},
|
||||||
|
iconProps: {
|
||||||
|
icon: "mdiAccountPlus",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user