Skip to content

Commit

Permalink
check for additional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Alzbeta Pokorna authored and Alzbeta Pokorna committed Dec 9, 2024
1 parent 7a9fb0e commit 3e745d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if "additional-fields" in vars %}
{% if "additional-fields" in vars and vars.additional_fields | length > 0 %}
{% for field in vars.additional_fields.values() %}
{{ field|code_imports }}
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder-drafts
version = 4.0.36
version = 4.0.37
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit 3e745d3

Please sign in to comment.