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
client/note menu: use proper style for development-only actions section header
Adorian Doranb8748b856a84
diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsxindex bc191b5d0b..7db764c06c 100644--- a/apps/client/src/widgets/ribbon/NoteActions.tsx+++ b/apps/client/src/widgets/ribbon/NoteActions.tsx@@ -1,5 +1,5 @@import { ConvertToAttachmentResponse } from "@triliumnext/commons";-import { FormDropdownDivider, FormListItem } from "../react/FormList";+import { FormDropdownDivider, FormListHeader, FormListItem } from "../react/FormList";import { isElectron as getIsElectron, isMac as getIsMac } from "../../services/utils";import { ParentComponent } from "../react/react_utils";import { t } from "../../services/i18n"@@ -113,8 +113,7 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Notfunction DevelopmentActions({ note }: { note: FNote }) {return (<>- <FormDropdownDivider />- <FormListItem disabled>Development-only Actions</FormListItem>+ <FormListHeader text="Development-only Actions" /><FormListItemicon="bx bx-printer"onClick={() => window.open(`/?print=#root/${note.noteId}`, "_blank")}