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:
2026-04-25 02:23:22 -04:00
parent c98e5e53b0
commit 40c6ac663f
2 changed files with 3 additions and 3 deletions
@@ -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