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>
<div class="mx-auto max-w-sm w-full"> <StickyCard class="px-0">
<StickyCard>
<Avatar <Avatar
width={64} width={64}
url={data.person_view.person.avatar} url={data.person_view.person.avatar}
@@ -285,10 +284,7 @@
<MenuButton <MenuButton
color="danger-subtle" color="danger-subtle"
on:click={() => on:click={() =>
ban( ban(data.person_view.person.banned, data.person_view.person)}
data.person_view.person.banned,
data.person_view.person
)}
> >
<Icon slot="prefix" mini size="16" src={ShieldExclamation} /> <Icon slot="prefix" mini size="16" src={ShieldExclamation} />
{data.person_view.person.banned ? 'Unban' : 'Ban'} {data.person_view.person.banned ? 'Unban' : 'Ban'}
@@ -330,4 +326,3 @@
{/if} {/if}
</StickyCard> </StickyCard>
</div> </div>
</div>