Restore empty state, made it filter aware

This commit is contained in:
Jason Zimdars
2025-08-28 15:54:41 -05:00
parent be39aa41d0
commit 178eaf0ecd
3 changed files with 5 additions and 1 deletions
@@ -10,6 +10,6 @@
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
<% end %>
</section>
@@ -20,5 +20,7 @@
<%= cards_next_page_link "doing-cards", page: page, filter: filter %>
</div>
<% end %>
<% else %>
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
<% end %>
</section>
@@ -14,5 +14,7 @@
<%= cards_next_page_link "on-deck-cards", page: page, filter: filter %>
</div>
<% end %>
<% else %>
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
<% end %>
</section>