From e5ec3dcbebe393fd5e549b485a09ebd2255e9ebb Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 26 Apr 2023 09:19:58 +0200 Subject: [PATCH] fix: don't show report button for own members --- frontend/src/routes/@[username]/[memberName]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index 28330e6..99146cb 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -138,7 +138,7 @@ - {#if $userStore && $userStore.id !== data.id} + {#if $userStore && $userStore.id !== data.user.id} {/if}