mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
fix(collection/presentation): template not well defined at first initialization
This commit is contained in:
parent
60cee1f7dc
commit
88689f2987
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user