This commit is contained in:
Xylight committed 2023-11-14 17:32:59 -08:00
1 parent c60c8b8c3a
commit a6249dba60
1 file changed
+2 -7
+2 -7
View File
@@ -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>