From 63ca0a3519c81e586caf4ded36f809510e0e0c4d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 25 Nov 2025 04:56:26 -0500 Subject: [PATCH] refac --- .../channel/ChannelInfoModal/UserList.svelte | 197 +++++++++--------- 1 file changed, 100 insertions(+), 97 deletions(-) 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}