Skip to content

Commit

Permalink
Do not include templates in individual menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Mar 3, 2025
1 parent 5d5da4d commit 68b646d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/infrahub/core/schema/schema_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ def generate_object_template_from_node(self, node: NodeSchema) -> TemplateSchema
label=f"Object template {node.label}",
description=f"Object template for {node.kind}",
branch=node.branch,
include_in_menu=True,
include_in_menu=False,
display_labels=["template_name__value"],
inherit_from=[InfrahubKind.LINEAGESOURCE, InfrahubKind.OBJECTTEMPLATE, InfrahubKind.NODE],
human_friendly_id=["template_name__value"],
Expand Down

0 comments on commit 68b646d

Please sign in to comment.