mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 21:36:06 +02:00
add destructive variant to alert dialogs for destructive actions
This commit is contained in:
@@ -746,7 +746,8 @@ export function leaveGroupPrompt(groupId) {
|
||||
modalStore
|
||||
.confirm({
|
||||
description: t('confirm.leave_group'),
|
||||
title: t('confirm.title')
|
||||
title: t('confirm.title'),
|
||||
destructive: true
|
||||
})
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
|
||||
Reference in New Issue
Block a user