Skip to content

Commit 185a443

Browse files
committed
fix: add confirmation message for deletion action
1 parent b0c3c80 commit 185a443

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

adminforth/spa/src/utils/listUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export async function startBulkAction(actionId: string, resource: AdminForthReso
6161
if (action?.confirm) {
6262
const confirmed = await confirm({
6363
title: action.confirm,
64+
message: t(`Deleting ${checkboxes.value.length} ${checkboxes.value.length === 1 ? 'item' : 'items'}. This process is irreversible.`),
6465
});
6566
if (!confirmed) {
6667
return;

0 commit comments

Comments
 (0)