mirror of
https://github.com/zadam/trilium.git
synced 2025-12-18 05:14:24 +01:00
feat(layout/inline-title): support in options as well
This commit is contained in:
parent
0939975631
commit
70c918c9c6
@ -67,6 +67,7 @@ export default function InlineTitle() {
|
|||||||
function shouldShow(note: FNote | null | undefined, viewScope: ViewScope | undefined) {
|
function shouldShow(note: FNote | null | undefined, viewScope: ViewScope | undefined) {
|
||||||
if (!note) return false;
|
if (!note) return false;
|
||||||
if (viewScope?.viewMode !== "default") return false;
|
if (viewScope?.viewMode !== "default") return false;
|
||||||
|
if (note.noteId.startsWith("_options")) return true;
|
||||||
return supportedNoteTypes.has(note.type);
|
return supportedNoteTypes.has(note.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user