Skip to content

Commit

Permalink
fixed reflection bug dremio#193
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmarg committed Jan 19, 2024
1 parent bd90292 commit 8d99f58
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 8d99f58

Please sign in to comment.