diff --git a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex index fd14a3a..678bf55 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex +++ b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex @@ -1,4 +1,4 @@ -defmodule Pinchflat.Sources.MediaItemTableLive do +defmodule PinchflatWeb.Sources.MediaItemTableLive do use PinchflatWeb, :live_view use Pinchflat.Media.MediaQuery diff --git a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex index 0e9459a..f232f42 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/show.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/show.html.heex @@ -39,21 +39,21 @@ <:tab title="Pending" id="pending"> <%= live_render( @conn, - Pinchflat.Sources.MediaItemTableLive, + PinchflatWeb.Sources.MediaItemTableLive, session: %{"source_id" => @source.id, "media_state" => "pending"} ) %> <:tab title="Downloaded" id="downloaded"> <%= live_render( @conn, - Pinchflat.Sources.MediaItemTableLive, + PinchflatWeb.Sources.MediaItemTableLive, session: %{"source_id" => @source.id, "media_state" => "downloaded"} ) %> <:tab title="Other" id="other"> <%= live_render( @conn, - Pinchflat.Sources.MediaItemTableLive, + PinchflatWeb.Sources.MediaItemTableLive, session: %{"source_id" => @source.id, "media_state" => "other"} ) %> diff --git a/test/pinchflat_web/controllers/sources/media_item_table_live_test.exs b/test/pinchflat_web/controllers/sources/media_item_table_live_test.exs index 772e305..b941f84 100644 --- a/test/pinchflat_web/controllers/sources/media_item_table_live_test.exs +++ b/test/pinchflat_web/controllers/sources/media_item_table_live_test.exs @@ -6,7 +6,7 @@ defmodule PinchflatWeb.Sources.MediaItemTableLiveTest do import Pinchflat.SourcesFixtures import Pinchflat.ProfilesFixtures - alias Pinchflat.Sources.MediaItemTableLive + alias PinchflatWeb.Sources.MediaItemTableLive setup do source = source_fixture()