diff --git a/dashboard/src/pages/Group.svelte b/dashboard/src/pages/Group.svelte index 46c8d5d3..b9abbe34 100644 --- a/dashboard/src/pages/Group.svelte +++ b/dashboard/src/pages/Group.svelte @@ -162,69 +162,55 @@ {#if settings && settings.accessibility ? (!settings.accessibility.expandedcards && !settings.accessibility.pagelinks) : true} {#each slicedMembers as member, index (member.id)} - {#if (!isPublic && member.privacy.visibility === "public") || isPublic} - +
+ {#if isPublic || member.privacy.visibility === "public"} + + {:else} + + {/if} +
- {:else} - - - - - - - {/if} {/each}
{:else if settings.accessibility.expandedcards} {#each slicedMembers as member, index (member.id)} - {#if (!isPublic && member.privacy.visibility === "public") || isPublic} - +
+ {#if isPublic || member.privacy.visibility === "public"} + + {:else} + + {/if} +
- {:else} - - - - - - - - - - - {/if} {/each} {:else}
{#each slicedMembers as member, index (member.id)} - {#if (!isPublic && member.privacy.visibility === "public") || isPublic} - +
+ {#if isPublic || member.privacy.visibility === "public"} + + {:else} + + {/if} +
- {:else} - - - - - - - - {/if} {/each}
{/if} diff --git a/dashboard/src/pages/Member.svelte b/dashboard/src/pages/Member.svelte index 69aba683..0524d142 100644 --- a/dashboard/src/pages/Member.svelte +++ b/dashboard/src/pages/Member.svelte @@ -169,69 +169,53 @@ {#if settings && settings.accessibility ? (!settings.accessibility.expandedcards && !settings.accessibility.pagelinks) : true} {#each slicedGroups as group, index (group.id)} - {#if (!isPublic && group.privacy.visibility === "public") || isPublic} - +
+ {#if isPublic || group.privacy.visibility === "public"} + + {:else} + + {/if} +
- +
- {:else} - - - - - - - {/if} {/each}
{:else if settings.accessibility.expandedcards} {#each slicedGroups as group, index (group.id)} - {#if (!isPublic && group.privacy.visibility === "public") || isPublic} - - - +
+ {#if isPublic || group.privacy.visibility === "public"} + + {:else} + + {/if} +
- +
- {:else} - - - - - - - - - - - {/if} {/each} {:else}
{#each slicedGroups as group, index (group.id)} - {#if (!isPublic && group.privacy.visibility === "public") || isPublic} - +
+ {#if isPublic || group.privacy.visibility === "public"} + + {:else} + + {/if} +
- {:else} - - - - - - - - {/if} {/each}
{/if}