mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 12:23:52 +02:00
User dialog group edit mode
This commit is contained in:
@@ -2284,6 +2284,23 @@ export default class extends baseClass {
|
||||
});
|
||||
},
|
||||
|
||||
leaveGroupPrompt(groupId) {
|
||||
this.$confirm(
|
||||
'Are you sure you want to leave this group?',
|
||||
'Confirm',
|
||||
{
|
||||
confirmButtonText: 'Confirm',
|
||||
cancelButtonText: 'Cancel',
|
||||
type: 'info',
|
||||
callback: (action) => {
|
||||
if (action === 'confirm') {
|
||||
this.leaveGroup(groupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
cancelGroupRequest(groupId) {
|
||||
return API.cancelGroupRequest({
|
||||
groupId
|
||||
|
||||
Reference in New Issue
Block a user