mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
don't show download button on already downloaded items.
This commit is contained in:
parent
0c3da6f3f2
commit
a8c080ffd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue