Make copyrighted files available to the uploader

This commit is contained in:
2023-04-04 16:00:14 +02:00
parent e5fa6cfc88
commit 782492de35
7 changed files with 41 additions and 33 deletions

View File

@@ -425,7 +425,7 @@ const keyboard_event = evt => {
<div class="separator"></div>
{#if file.abuse_type === "" && view === "file"}
{#if view === "file" && file.can_download}
<button
on:click={downloader.download_file}
class="toolbar_button"
@@ -435,7 +435,7 @@ const keyboard_event = evt => {
</button>
{/if}
{#if file.abuse_type === "" && is_list}
{#if is_list && file.can_download}
<button
on:click={downloader.download_list}
class="toolbar_button"