Add type filters for abuse report window

This commit is contained in:
2024-04-11 14:40:39 +02:00
parent f8a97d2183
commit 089fa3ad84
3 changed files with 50 additions and 14 deletions

View File

@@ -37,11 +37,13 @@ let file = {
{/if}
</p>
<p>
Pixeldrain has zero tolerance towards abuse. The IP address this file
originated from has been banned and is no longer able to upload files to
pixeldrain.
</p>
{#if file.abuse_type !== "porn"}
<p>
Pixeldrain has zero tolerance towards abuse. The IP address this file
originated from has been banned and is no longer able to upload files to
pixeldrain.
</p>
{/if}
</TextBlock>
{#if file.can_download}