fix(collection/presentation): template not well defined at first initialization

This commit is contained in:
Elian Doran 2025-10-16 12:22:26 +03:00
parent 60cee1f7dc
commit 88689f2987
No known key found for this signature in database

View File

@ -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"
}
]
}
]
};