fix shot records table disappearing after selecting an empty ammo class
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-30 19:59:53 -04:00
parent 6ed3312ea8
commit 32801828fa
11 changed files with 50 additions and 8 deletions

View File

@ -50,7 +50,7 @@
<hr class="hr" />
<%= if @shot_groups |> Enum.empty?() and @search |> is_nil() do %>
<%= if @shot_record_count == 0 do %>
<h1 class="title text-xl text-primary-600">
<%= gettext("No shots recorded") %>
<%= display_emoji("😔") %>