diff --git a/src/lib/components/lemmy/community/CommunityCard.svelte b/src/lib/components/lemmy/community/CommunityCard.svelte index 90fef8f6..cc4e2e03 100644 --- a/src/lib/components/lemmy/community/CommunityCard.svelte +++ b/src/lib/components/lemmy/community/CommunityCard.svelte @@ -25,6 +25,7 @@ import { Calendar, ChatBubbleOvalLeftEllipsis, + Check, Cog6Tooth, EllipsisHorizontal, Fire, @@ -208,65 +209,64 @@ {/if} + {#if $profile?.jwt} -
- +
-
- {#if $profile.user && amMod($profile.user, community_view.community)} - + {/if} + + + + + {community_view.blocked ? 'Unblock' : 'Block'} + + {#if $profile?.user && isAdmin($profile.user)} + (purgingCommunity = !purgingCommunity)} > - - - {/if} - - - - - {community_view.blocked ? 'Unblock' : 'Block'} + + Purge - {#if $profile.user && isAdmin($profile.user)} - (purgingCommunity = !purgingCommunity)} - > - - Purge - - {/if} - -
+ {/if} +
{/if} -