forked from mirrors/pronouns.cc
fix: don't show report button for own members
This commit is contained in:
parent
80a0257832
commit
e5ec3dcbeb
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@
|
||||||
<Button color="secondary" outline on:click={copyURL}>
|
<Button color="secondary" outline on:click={copyURL}>
|
||||||
<Icon name="clipboard" /> Copy link
|
<Icon name="clipboard" /> Copy link
|
||||||
</Button>
|
</Button>
|
||||||
{#if $userStore && $userStore.id !== data.id}
|
{#if $userStore && $userStore.id !== data.user.id}
|
||||||
<ReportButton subject="member" reportUrl="/members/{data.id}/reports" />
|
<ReportButton subject="member" reportUrl="/members/{data.id}/reports" />
|
||||||
{/if}
|
{/if}
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
|
Loading…
Reference in a new issue