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(react/note_title): title shown on empty widget pane
Elian Doran9e947f742d83
diff --git a/apps/client/src/widgets/note_title.tsx b/apps/client/src/widgets/note_title.tsxindex 8c0cfae7d3..963523fdad 100644--- a/apps/client/src/widgets/note_title.tsx+++ b/apps/client/src/widgets/note_title.tsx@@ -41,7 +41,7 @@ export default function NoteTitleWidget() {return (<div className="note-title-widget">- <FormTextBox+ {note && <FormTextBoxautocomplete="off"currentValue={(!isReadOnly ? title : navigationTitle) ?? ""}placeholder={t("note_title.placeholder")}@@ -52,7 +52,7 @@ export default function NoteTitleWidget() {newTitle.current = newValue;spacedUpdate.scheduleUpdate();}}- />+ />}</div>);}