mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: only show report button if logged in
also switched to roles enum instead of directly using numbers in has role for paste comments
This commit is contained in:
@@ -614,7 +614,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{#if !isOwner && !$user?.isBanned}
|
||||
{#if !isOwner && !$user?.isBanned && $user}
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user