diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js index 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);