fix: close #186
This commit is contained in:
1 parent
c60c8b8c3a
commit
a6249dba60
1 file changed
+2
-7
@@ -198,8 +198,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="mx-auto max-w-sm w-full">
|
||||
<StickyCard>
|
||||
<StickyCard class="px-0">
|
||||
<Avatar
|
||||
width={64}
|
||||
url={data.person_view.person.avatar}
|
||||
@@ -285,10 +284,7 @@
|
||||
<MenuButton
|
||||
color="danger-subtle"
|
||||
on:click={() =>
|
||||
ban(
|
||||
data.person_view.person.banned,
|
||||
data.person_view.person
|
||||
)}
|
||||
ban(data.person_view.person.banned, data.person_view.person)}
|
||||
>
|
||||
<Icon slot="prefix" mini size="16" src={ShieldExclamation} />
|
||||
{data.person_view.person.banned ? 'Unban' : 'Ban'}
|
||||
@@ -330,4 +326,3 @@
|
||||
{/if}
|
||||
</StickyCard>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user