Skip to content

Commit

Permalink
Fix selected count for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matyldv committed Nov 15, 2024
1 parent 530cac3 commit 051d0e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ralph/admin/templates/admin/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ <h4>{% trans "Actions" %}</h4>
{% trans "Go" %}
</button>
{% if actions_selection_counter %}
<script type="text/javascript">
var _actions_icnt="{{ cl.result_list|length|default:"0" }}";
</script>
<span class="action-counter">{{ selection_note }}</span>
<span class="action-counter" data-actions-icnt="{{ cl.result_list|length }}">{{ selection_note }}</span>
{% endif %}
</div>
{% endif %}

0 comments on commit 051d0e3

Please sign in to comment.