Compare commits

..

1 Commits

Author SHA1 Message Date
cfbec3189c display used-up date on used-up ammo
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-07 21:01:57 -05:00
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ defmodule CanneryWeb.AmmoGroupLive.Show do
%{label: gettext("Rounds shot"), key: :count}, %{label: gettext("Rounds shot"), key: :count},
%{label: gettext("Notes"), key: :notes}, %{label: gettext("Notes"), key: :notes},
%{label: gettext("Date"), key: :date}, %{label: gettext("Date"), key: :date},
%{label: nil, key: "actions", sortable: false} %{label: nil, key: :actions, sortable: false}
] ]
rows = rows =

View File

@ -79,7 +79,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
ammo_types ammo_types
|> Enum.any?(fn ammo_type -> |> Enum.any?(fn ammo_type ->
not (ammo_type |> Map.get(key |> String.to_existing_atom()) == default_value) not (ammo_type |> Map.get(key) == default_value)
end) end)
end) end)
|> Kernel.++([ |> Kernel.++([

View File

@ -81,7 +81,7 @@ defmodule CanneryWeb.RangeLive.Index do
%{label: gettext("Rounds shot"), key: :count}, %{label: gettext("Rounds shot"), key: :count},
%{label: gettext("Notes"), key: :notes}, %{label: gettext("Notes"), key: :notes},
%{label: gettext("Date"), key: :date}, %{label: gettext("Date"), key: :date},
%{label: nil, key: "actions", sortable: false} %{label: nil, key: :actions, sortable: false}
] ]
rows = rows =