diff --git a/src/components/dialogs/AvatarDialog/useAvatarDialogCommands.js b/src/components/dialogs/AvatarDialog/useAvatarDialogCommands.js index 87896e81..f46d031a 100644 --- a/src/components/dialogs/AvatarDialog/useAvatarDialogCommands.js +++ b/src/components/dialogs/AvatarDialog/useAvatarDialogCommands.js @@ -287,7 +287,8 @@ export function useAvatarDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.avatar.actions.block') - }) + }), + destructive: true }), handler: (id) => { avatarModerationRequest @@ -369,7 +370,8 @@ export function useAvatarDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.avatar.actions.delete') - }) + }), + destructive: true }), handler: (id) => { avatarRequest @@ -399,7 +401,8 @@ export function useAvatarDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.avatar.actions.delete_impostor') - }) + }), + destructive: true }), handler: (id) => { avatarRequest @@ -432,7 +435,8 @@ export function useAvatarDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.avatar.actions.regenerate_impostor') - }) + }), + destructive: true }), handler: (id) => { avatarRequest diff --git a/src/components/dialogs/CustomNavDialog.vue b/src/components/dialogs/CustomNavDialog.vue index ae495a9b..32151d76 100644 --- a/src/components/dialogs/CustomNavDialog.vue +++ b/src/components/dialogs/CustomNavDialog.vue @@ -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; diff --git a/src/components/dialogs/GroupDialog/GroupDialog.vue b/src/components/dialogs/GroupDialog/GroupDialog.vue index 05bb0a67..46b358cc 100644 --- a/src/components/dialogs/GroupDialog/GroupDialog.vue +++ b/src/components/dialogs/GroupDialog/GroupDialog.vue @@ -561,7 +561,8 @@ modalStore .confirm({ description: t('confirm.delete_post'), - title: t('confirm.title') + title: t('confirm.title'), + destructive: true }) .then(({ ok }) => { if (!ok) return; diff --git a/src/components/dialogs/GroupDialog/useGroupDialogCommands.js b/src/components/dialogs/GroupDialog/useGroupDialogCommands.js index d9e110bb..9872229a 100644 --- a/src/components/dialogs/GroupDialog/useGroupDialogCommands.js +++ b/src/components/dialogs/GroupDialog/useGroupDialogCommands.js @@ -84,7 +84,8 @@ export function useGroupDialogCommands( 'Block Group': { confirm: () => ({ title: t('confirm.title'), - description: t('confirm.block_group') + description: t('confirm.block_group'), + destructive: true }), handler: (id) => { groupRequest.blockGroup({ groupId: id }).then((args) => { diff --git a/src/components/dialogs/UserDialog/useUserDialogCommands.js b/src/components/dialogs/UserDialog/useUserDialogCommands.js index 9db5c470..89fb47b9 100644 --- a/src/components/dialogs/UserDialog/useUserDialogCommands.js +++ b/src/components/dialogs/UserDialog/useUserDialogCommands.js @@ -486,7 +486,8 @@ export function useUserDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.user.actions.moderation_block') - }) + }), + destructive: true }), handler: async (userId) => { const args = @@ -518,7 +519,8 @@ export function useUserDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.user.actions.moderation_mute') - }) + }), + destructive: true }), handler: async (userId) => { const args = @@ -554,7 +556,8 @@ export function useUserDialogCommands( command: t( 'dialog.user.actions.moderation_disable_avatar_interaction' ) - }) + }), + destructive: true }), handler: async (userId) => { const args = @@ -590,7 +593,8 @@ export function useUserDialogCommands( command: t( 'dialog.user.actions.moderation_disable_chatbox' ) - }) + }), + destructive: true }), handler: async (userId) => { const args = @@ -622,7 +626,8 @@ export function useUserDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.user.actions.unfriend') - }) + }), + destructive: true }), handler: async (userId) => { const args = await friendRequest.deleteFriend( diff --git a/src/components/dialogs/WorldDialog/useWorldDialogCommands.js b/src/components/dialogs/WorldDialog/useWorldDialogCommands.js index aff81e3d..3c39231f 100644 --- a/src/components/dialogs/WorldDialog/useWorldDialogCommands.js +++ b/src/components/dialogs/WorldDialog/useWorldDialogCommands.js @@ -528,7 +528,8 @@ export function useWorldDialogCommands( title: t('confirm.title'), description: t('confirm.command_question', { command: t('dialog.world.actions.delete') - }) + }), + destructive: true }), handler: (id) => { worldRequest.deleteWorld({ worldId: id }).then((args) => { diff --git a/src/components/nav-menu/NavMenu.vue b/src/components/nav-menu/NavMenu.vue index 24f55a93..8b6e89d4 100644 --- a/src/components/nav-menu/NavMenu.vue +++ b/src/components/nav-menu/NavMenu.vue @@ -50,11 +50,11 @@ {{ t('nav_menu.mark_all_read') }} - +