feat: hide the community handle in the sidebar card in single-community mode
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011c5BZVwWdVLrdQi9htmuth
This commit is contained in:
1 parent
a9bf3497fe
commit
302700ef66
1 file changed
+3
@@ -1,4 +1,5 @@
|
||||
<script lang="ts" module>
|
||||
import { SINGLE_COMMUNITY } from '$lib/app/single'
|
||||
import { client, getClient } from '$lib/api/client.svelte'
|
||||
import type { CommunityModeratorView, CommunityView } from '$lib/api/types'
|
||||
import { profile } from '$lib/app/auth'
|
||||
@@ -177,10 +178,12 @@
|
||||
avatarCircle={false}
|
||||
>
|
||||
{#snippet nameDetail()}
|
||||
{#if !SINGLE_COMMUNITY}
|
||||
!{fullCommunityName(
|
||||
community_view.community.name,
|
||||
community_view.community.actor_id,
|
||||
)}
|
||||
{/if}
|
||||
{/snippet}
|
||||
</EntityHeader>
|
||||
|
||||
|
||||
Reference in new issue
Block a user