mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 08:43:50 +02:00
add destructive variant to alert dialogs for destructive actions
This commit is contained in:
@@ -770,7 +770,8 @@
|
||||
const dashboardId = String(dashboardKey || '').replace(DASHBOARD_NAV_KEY_PREFIX, '');
|
||||
const { ok } = await modalStore.confirm({
|
||||
title: t('dashboard.confirmations.delete_title'),
|
||||
description: t('dashboard.confirmations.delete_description')
|
||||
description: t('dashboard.confirmations.delete_description'),
|
||||
destructive: true
|
||||
});
|
||||
if (!ok) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user