fix ammo type table not displaying class

This commit is contained in:
shibao 2023-03-29 23:03:03 -04:00
parent 4b6d0952f8
commit a68a16bf06
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ defmodule CanneryWeb.Components.AmmoTypeTableComponent do
})
|> TableComponent.maybe_compose_columns(filtered_columns)
|> TableComponent.maybe_compose_columns(
%{label: gettext("Class"), key: :type, type: :atom},
%{label: gettext("Class"), key: :class, type: :atom},
class in [:all, nil]
)
|> TableComponent.maybe_compose_columns(%{label: gettext("Name"), key: :name, type: :name})