Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(dev actions): don't offer the print page for a locked note
Elian Doran5d3172f7bafc
diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsxindex b59a13c749..093b6ce74d 100644--- a/apps/client/src/widgets/ribbon/NoteActions.tsx+++ b/apps/client/src/widgets/ribbon/NoteActions.tsx@@ -340,6 +340,7 @@ function DevelopmentActions({ note, noteContext }: { note: FNote, noteContext?:<FormListHeader text="Development Actions" /><FormListItemicon="bx bx-printer"+ disabled={!note.isContentAvailable()}onClick={() => window.open(`/?print=#root/${note.noteId}`, "_blank")}>Open print page</FormListItem><FormListItem