From 88689f2987c3f59418f2a4f7944f1e65f4e5eb18 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 16 Oct 2025 12:22:26 +0300 Subject: [PATCH] fix(collection/presentation): template not well defined at first initialization --- .../src/services/hidden_subtree_templates.ts | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/server/src/services/hidden_subtree_templates.ts b/apps/server/src/services/hidden_subtree_templates.ts index d85fb5546..3b2de5dbf 100644 --- a/apps/server/src/services/hidden_subtree_templates.ts +++ b/apps/server/src/services/hidden_subtree_templates.ts @@ -234,6 +234,18 @@ export default function buildHiddenSubtreeTemplates() { } ] }, + { + id: "_template_presentation_slide", + type: "text", + title: t("hidden_subtree_templates.presentation_slide"), + icon: "bx bx-rectangle", + attributes: [ + { + name: "slide", + type: "label" + } + ] + }, { id: "_template_presentation", type: "book", @@ -287,18 +299,6 @@ export default function buildHiddenSubtreeTemplates() { ] } ] - }, - { - id: "_template_presentation_slide", - type: "text", - title: t("hidden_subtree_templates.presentation_slide"), - icon: "bx bx-rectangle", - attributes: [ - { - name: "slide", - type: "label" - } - ] } ] };