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 95dc9b0..3a97870 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 @@ -59,7 +59,7 @@ defmodule PinchflatWeb.Sources.MediaItemTableLive do <.link href={~p"/sources/#{@source.id}/media/#{media_item.id}/force_download"} - :if={!media_item.prevent_download} + :if={@media_state !== "downloaded"} method="post" target="_blank" data-confirm="Are you sure you force a download of this media?"