diff --git a/src/lib/components/channel/ChannelInfoModal/UserList.svelte b/src/lib/components/channel/ChannelInfoModal/UserList.svelte index 33027d2f77..8c0c8704c6 100644 --- a/src/lib/components/channel/ChannelInfoModal/UserList.svelte +++ b/src/lib/components/channel/ChannelInfoModal/UserList.svelte @@ -93,7 +93,7 @@
- {:else if users.length > 0} + {:else}
@@ -119,115 +119,118 @@
-
-
-
+ + {#if users.length > 0} +
+
- - - -
-
-
- {#each users as user, userIdx} -
-
-
- - user - - -
{user.name}
-
- - {#if user?.is_active} -
- - - - -
+ {/if}
-
+ -
-
- + +
+
+
+ {#each users as user, userIdx} +
+
+
+ + user + + +
{user.name}
+
+ + {#if user?.is_active} +
+ + + + +
+ {/if} +
+
+ +
+
+ +
-
- {/each} + {/each} +
-
- {#if total > 30} - + {#if total > 30} + + {/if} + {:else} +
+ {$i18n.t('No users were found.')} +
{/if} - {:else} -
- {$i18n.t('No users were found.')} -
{/if}