better-auth-ui-svelte 0.12.3 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,11 +157,11 @@
157
157
  const organizationRefetching = $derived(currentOrgResult.isRefetching);
158
158
  const organizationRefetch = currentOrgResult.refetch;
159
159
 
160
- t// Whether there are any non-active orgs or personal account rendered above additionalOrganizations
161
- tconst hasItemsAboveAdditional = $derived(
162
- tt(!hidePersonal && !!activeOrganization) ||
163
- tt(organizations ?? []).some((o) => o.id !== activeOrganization?.id)
164
- t);
160
+ // Whether there are any non-active orgs or personal account rendered above additionalOrganizations
161
+ const hasItemsAboveAdditional = $derived(
162
+ (!hidePersonal && !!activeOrganization) ||
163
+ (organizations ?? []).some((o) => o.id !== activeOrganization?.id)
164
+ );
165
165
 
166
166
  // Smarter pending logic: Only show loading if we're truly waiting for data
167
167
  // If we have organizations list, we can show the UI even if active org is still loading
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth-ui-svelte",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Pre-built authentication UI components for Better Auth in Svelte 5",
5
5
  "scripts": {
6
6
  "dev": "vite dev",