mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-26 02:00:57 -05:00
Compare commits
2 commits
00e6ead9bd
...
86e8424e46
Author | SHA1 | Date | |
---|---|---|---|
|
86e8424e46 | ||
|
5e66bc8dc4 |
1 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,17 @@ export default function ServerInfo({
|
|||
children: "Edit Identity",
|
||||
palette: "primary",
|
||||
},
|
||||
{
|
||||
onClick: () => {
|
||||
modalController.push({
|
||||
type: "leave_server",
|
||||
target: server,
|
||||
});
|
||||
return true;
|
||||
},
|
||||
children: "Leave Server",
|
||||
palette: "error",
|
||||
},
|
||||
{
|
||||
onClick: () => {
|
||||
modalController.push({
|
||||
|
|
Loading…
Add table
Reference in a new issue