diff --git a/src/lib/components/lemmy/community/CommunityHeader.svelte b/src/lib/components/lemmy/community/CommunityHeader.svelte new file mode 100644 index 00000000..baa865c1 --- /dev/null +++ b/src/lib/components/lemmy/community/CommunityHeader.svelte @@ -0,0 +1,125 @@ + + + + +
+ {#if $profile?.jwt} + + + + {/if} + + + {#if $profile?.user && $profile.user.moderates + .map((c) => c.community.id) + .includes(community.id)} + + {/if} +
+
diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte index ea8b76fd..e25c6a7c 100644 --- a/src/lib/components/lemmy/post/PostMeta.svelte +++ b/src/lib/components/lemmy/post/PostMeta.svelte @@ -41,7 +41,7 @@