From f9a24bf6013dfd7ac06c3fed2b21870ca13cdf16 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 16 Oct 2025 09:29:28 +0300 Subject: [PATCH] fix(collection/presentation): hide slide from list of templates --- apps/client/src/services/note_types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/services/note_types.ts b/apps/client/src/services/note_types.ts index a42631f9f..74b6f5665 100644 --- a/apps/client/src/services/note_types.ts +++ b/apps/client/src/services/note_types.ts @@ -168,7 +168,8 @@ async function getBuiltInTemplates(title: string | null, command: TreeCommandNam } for (const templateNote of childNotes) { - if (templateNote.hasLabel("collection") !== filterCollections) { + if (templateNote.hasLabel("collection") !== filterCollections || + !templateNote.hasLabel("template")) { continue; }