mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
feat(react/note_title): bring back navigation title
This commit is contained in:
@@ -259,7 +259,9 @@ export function useNoteContext() {
|
||||
notePath: noteContext?.notePath,
|
||||
hoistedNoteId: noteContext?.hoistedNoteId,
|
||||
ntxId: noteContext?.ntxId,
|
||||
componentId: parentComponent.componentId
|
||||
viewScope: noteContext?.viewScope,
|
||||
componentId: parentComponent.componentId,
|
||||
noteContext: noteContext
|
||||
};
|
||||
|
||||
}
|
||||
@@ -288,6 +290,6 @@ export function useNoteProperty<T extends keyof FNote>(note: FNote | null | unde
|
||||
setValue(note[property]);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
return value;
|
||||
}
|
||||
Reference in New Issue
Block a user