diff --git a/src/lib/group/List.svelte b/src/lib/group/List.svelte
index 9180d136..d39d240d 100644
--- a/src/lib/group/List.svelte
+++ b/src/lib/group/List.svelte
@@ -284,7 +284,9 @@
+{#if !isPublic}
+{/if}
{#each slicedList as group, index (group.id)}
{#if (!isPublic && group.privacy.visibility === "public") || isPublic}
diff --git a/src/lib/member/List.svelte b/src/lib/member/List.svelte
index 72703d74..4bec8857 100644
--- a/src/lib/member/List.svelte
+++ b/src/lib/member/List.svelte
@@ -286,7 +286,9 @@
+{#if !isPublic}
+{/if}
{#each slicedList as member, index (member.id)}
{#if (!isPublic && member.privacy.visibility === "public") || isPublic}