mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(react/note_title): title shown on empty widget pane
This commit is contained in:
@@ -41,7 +41,7 @@ export default function NoteTitleWidget() {
|
||||
|
||||
return (
|
||||
<div className="note-title-widget">
|
||||
<FormTextBox
|
||||
{note && <FormTextBox
|
||||
autocomplete="off"
|
||||
currentValue={(!isReadOnly ? title : navigationTitle) ?? ""}
|
||||
placeholder={t("note_title.placeholder")}
|
||||
@@ -52,7 +52,7 @@ export default function NoteTitleWidget() {
|
||||
newTitle.current = newValue;
|
||||
spacedUpdate.scheduleUpdate();
|
||||
}}
|
||||
/>
|
||||
/>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user