Swap one? and many? branches

This commit is contained in:
Jose Farias
2024-11-18 11:49:20 -06:00
parent f5a12ace68
commit 5c1f6dd5aa
+3 -3
View File
@@ -3,10 +3,10 @@
<h1 class="txt-large flex align-center gap-half">
<% if filter.buckets.none? %>
All projects
<% elsif filter.buckets.many? %>
<%= pluralize(filter.buckets.size, "project") %>
<% else %>
<% elsif filter.buckets.one? %>
<%= filter.buckets.first.name %>
<% else %>
<%= pluralize(filter.buckets.size, "project") %>
<% end %>
</h1>