Skip to content

Commit

Permalink
fixed reflection bug #193 (#213)
Browse files Browse the repository at this point in the history
See issue description in #193
  • Loading branch information
mxmarg authored Jan 25, 2024
1 parent bd90292 commit dfc7564
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.*/

{% if model.refs | length + model.sources | length == 1 %}
{% if model.refs | length == 1 %}
{% set anchor = ref(model.refs[0][0]) %}
{% set anchor = ref(model.refs[0]['name']) %}
{% else %}
{% set anchor = source(model.sources[0][0], model.sources[0][1]) %}
{% endif %}
Expand Down

0 comments on commit dfc7564

Please sign in to comment.