Skip to content

Commit

Permalink
Add default
Browse files Browse the repository at this point in the history
  • Loading branch information
matyldv committed Nov 15, 2024
1 parent 051d0e3 commit 7631538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ralph/admin/templates/admin/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h4>{% trans "Actions" %}</h4>
{% trans "Go" %}
</button>
{% if actions_selection_counter %}
<span class="action-counter" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span>
<span class="action-counter" data-actions-icnt="{{ cl.result_list|length|default:"0" }}">{{ selection_note }}</span>
{% endif %}
</div>
{% endif %}

0 comments on commit 7631538

Please sign in to comment.