From f42aaf90992beda37be5cae800f295b28ff48eb7 Mon Sep 17 00:00:00 2001 From: shibao Date: Fri, 4 Mar 2022 00:06:08 -0500 Subject: [PATCH] fix bug with move ammo group component --- CHANGELOG.md | 3 ++- lib/cannery_web/components/move_ammo_group_component.ex | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4af4a109..0aaa5b1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -# v0.3.1 +# v0.4.0 - Add link to changelog from version number - Fix some elements flashing with black background +- Fix bug with moving ammo group to new container # v0.3.0 - Fix ammo type counts not showing when count is 0 diff --git a/lib/cannery_web/components/move_ammo_group_component.ex b/lib/cannery_web/components/move_ammo_group_component.ex index f186ebeb..81fc2ec1 100644 --- a/lib/cannery_web/components/move_ammo_group_component.ex +++ b/lib/cannery_web/components/move_ammo_group_component.ex @@ -5,6 +5,7 @@ defmodule CanneryWeb.Components.MoveAmmoGroupComponent do use CanneryWeb, :live_component alias Cannery.{Accounts.User, Ammo, Ammo.AmmoGroup, Containers} + alias CanneryWeb.Endpoint alias Phoenix.LiveView.Socket @impl true