Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix duplicate task id in deleteItemsFromTrash (#10286)

Masatoshi Ogiwara725df6f6f7fa
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.ts
index 9f23608a7..608dd278f 100644
--- a/apps/web/src/common/multi-select.ts
+++ b/apps/web/src/common/multi-select.ts
@@ -214,7 +214,7 @@ async function deleteItemsFromTrash(ids: string[]) {
await TaskManager.startTask({
type: "status",
- id: "restoreItems",
+ id: "deleteItems",
title: strings.inProgressActions.permanentlyDeleting.item(ids.length),
action: async (report) => {
report({