diff --git a/dashboard/src/components/list/ListView.svelte b/dashboard/src/components/list/ListView.svelte
index f2945274..815d4905 100644
--- a/dashboard/src/components/list/ListView.svelte
+++ b/dashboard/src/components/list/ListView.svelte
@@ -121,14 +121,12 @@
copyShortLink(indexStart + index, item.id)} on:keydown={(e) => copyShortLink(indexStart + index, item.id, e)} tabindex={0} >
{#if item.privacy && item.privacy.visibility === "private"}
- {#if pageOptions.type === "member"}
+
+ {:else if pageOptions.type === "member"}
{:else if pageOptions.type === "group"}
{/if}
- {:else}
-
- {/if}
{copiedArray[indexStart + index] ? "Copied!" : "Copy public link"}
@@ -154,14 +152,12 @@
copyShortLink(indexStart + index, item.id)} on:keydown|stopPropagation={(e) => copyShortLink(indexStart + index, item.id, e)} tabindex={0} >
{#if item.privacy && item.privacy.visibility === "private"}
- {#if pageOptions.type === "member"}
+ {:else if pageOptions.type === "member"}
+
{:else if pageOptions.type === "group"}
{/if}
- {:else}
-
- {/if}
{copiedArray[indexStart + index] ? "Copied!" : "Copy public link"}
@@ -184,14 +180,12 @@
copyShortLink(indexStart + index, item.id)} on:keydown|stopPropagation={(e) => copyShortLink(indexStart + index, item.id, e)} tabindex={0} >
{#if item.privacy && item.privacy.visibility === "private"}
- {#if pageOptions.type === "member"}
+ {:else if pageOptions.type === "member"}
+
{:else if pageOptions.type === "group"}
{/if}
- {:else}
-
- {/if}
{copiedArray[indexStart + index] ? "Copied!" : "Copy public link"}