mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(collection/presentation): hide slide from list of templates
This commit is contained in:
parent
113061902e
commit
f9a24bf601
@ -168,7 +168,8 @@ async function getBuiltInTemplates(title: string | null, command: TreeCommandNam
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const templateNote of childNotes) {
|
for (const templateNote of childNotes) {
|
||||||
if (templateNote.hasLabel("collection") !== filterCollections) {
|
if (templateNote.hasLabel("collection") !== filterCollections ||
|
||||||
|
!templateNote.hasLabel("template")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user