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: refactor
Adorian Doran9011d648b58e
diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsxindex 3b396e0706..466fc12a17 100644--- a/apps/client/src/widgets/ribbon/NoteActions.tsx+++ b/apps/client/src/widgets/ribbon/NoteActions.tsx@@ -64,9 +64,8 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: NoticonAction>{isReadOnly && <>- <FormListItem icon="bx bx-pencil" onClick={() => enableEditing()}>- {t("read-only-info.edit-note")}- </FormListItem>+ <CommandItem icon="bx bx-pencil" text={t("read-only-info.edit-note")}+ command={() => enableEditing()} /><FormDropdownDivider /></>}