Timothy Jaeryang Baek 5 months ago
parent
commit
f32b042a00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/admin/Users/UserList.svelte

+ 1 - 1
src/lib/components/admin/Users/UserList.svelte

@@ -167,7 +167,7 @@
 />
 <UserChatsModal bind:show={showUserChatsModal} user={selectedUser} />
 
-{#if ($config?.license_metadata?.seats ?? null) !== null && users.length > $config?.license_metadata?.seats}
+{#if ($config?.license_metadata?.seats ?? null) !== null && total && total > $config?.license_metadata?.seats}
 	<div class=" mt-1 mb-2 text-xs text-red-500">
 		<Banner
 			className="mx-0"