From 729898296b4e09fa8cada5feb524f1d3774a2d7c Mon Sep 17 00:00:00 2001 From: whoswhip Date: Fri, 23 Jan 2026 11:17:30 -0500 Subject: [PATCH] fix: correct conditional logic for user role checks in component rendering --- SharpbinV3.Client/src/routes/user/[username]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte index b2f6906..289b355 100644 --- a/SharpbinV3.Client/src/routes/user/[username]/+page.svelte +++ b/SharpbinV3.Client/src/routes/user/[username]/+page.svelte @@ -352,7 +352,7 @@ {/if} - {#if !isOwner || !$user?.roles?.some((r) => r === 403)} + {#if !isOwner && !$user?.roles?.some((r) => r === 403)}