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: disable deleting locked notes (#2244)
Muhammad Aliadf546f29c91
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.jsindex e2517656b..bdae1cede 100644--- a/apps/web/src/components/note/index.js+++ b/apps/web/src/components/note/index.js@@ -480,6 +480,9 @@ const menuItems = [if (db.monographs.isPublished(items[0].id))return "Please unpublish this note to move it to trash";++ if (items[0].locked)+ return "Please unlock this note to move it to trash.";},onClick: async ({ items }) => {await Multiselect.moveNotesToTrash(items, items.length > 1);