Skip to content

Commit

Permalink
cove_rdls/templates/cove_rdls/validation_table.html: Display only emp…
Browse files Browse the repository at this point in the history
…ty objects
  • Loading branch information
Ed (ODSC) committed Sep 2, 2023
1 parent c50eff3 commit 45545e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cove_rdls/templates/cove_rdls/validation_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@
<td>
<ul class="list-unstyled">
{% for error in errors|slice:":3" %}
{# if error.instance|get_variable_type != "dict" #}
{% if error.instance|get_variable_type != "dict" or error.instance|length == 0 %}
{% if error.instance|get_variable_type == "str" %}
<li> "{{error.instance}}" </li>
{% else %}
<li> {{error.instance}} </li>
{% endif %}
{# endif #}
{% endif %}
{% endfor %}
</ul>
</td>
Expand Down

0 comments on commit 45545e8

Please sign in to comment.