We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a697ce commit 17e8832Copy full SHA for 17e8832
src/routes/+page.svelte
@@ -23,8 +23,6 @@
23
24
<svelte:head><title>Console</title></svelte:head>
25
26
-<!-- ?naisdevice=connected -->
27
-
28
{#if userTeams === 0}
29
<div class="page">
30
<Onboarding {tenantName} />
src/routes/Onboarding.svelte
@@ -80,8 +80,10 @@
80
}
81
82
const teams = $derived(
83
- $teamSearch.data?.search.edges.map((e) => e.node).filter((n) => n.__typename === 'Team') ??
84
- $teamsQuery.data?.teams.nodes
+ teamSearchQuery === ''
+ ? $teamsQuery.data?.teams.nodes
85
+ : ($teamSearch.data?.search.edges.map((e) => e.node).filter((n) => n.__typename === 'Team') ??
86
+ $teamsQuery.data?.teams.nodes)
87
);
88
89
const pagination = $derived(
0 commit comments