Skip to content

Commit

Permalink
Puzzle detail: Hide filters toggle when useless
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMikes committed Feb 3, 2025
1 parent f8a1d9f commit 1355946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/PuzzleTimes.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{% endif %}
</div>

{% if this.availableCountries|length > 1 or (this.category == 'solo' and this.times|length > 1) %}
{% if this.activeFiltersCount > 0 or this.availableCountries|length > 1 or (this.category == 'solo' and this.times|length > 1) %}
<div class="dropdown">
<button
class="btn btn-outline-primary btn-sm dropdown-toggle"
Expand Down

0 comments on commit 1355946

Please sign in to comment.