A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: do not ask for confirmation when deleting a single tag
Abdullah Atta595f2e9ba790
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.tsindex 830decbc3..78c0a9faf 100644--- a/apps/web/src/common/multi-select.ts+++ b/apps/web/src/common/multi-select.ts@@ -139,16 +139,10 @@ async function moveRemindersToTrash(ids: string[]) {}async function deleteTags(ids: string[]) {- if (- !(await ConfirmDialog.show({- title: "Are you sure?",- message:- "Are you sure you want to permanently delete these tags? This action is IRREVERSIBLE.",- negativeButtonText: "No",- positiveButtonText: "Yes"- }))- )- return;+ const isMultiselect = ids.length > 1;+ if (isMultiselect) {+ if (!(await showMultiDeleteConfirmation(ids.length))) return;+ }await TaskManager.startTask({type: "status",