diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index 554826a7df..d458ab9755 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -274a094acce8dd42847c322a9fa8739010d01f2f +8ab9b8d3cb7486fcb472d34f3a0b49f52548fe8f diff --git a/frontend/src/lib/components/flows/pickers/PickHubScript.svelte b/frontend/src/lib/components/flows/pickers/PickHubScript.svelte index d3f597dd79..b5ba87327e 100644 --- a/frontend/src/lib/components/flows/pickers/PickHubScript.svelte +++ b/frontend/src/lib/components/flows/pickers/PickHubScript.svelte @@ -150,14 +150,14 @@ {size} /> {#if loading} - + {/if} {#if hubNotAvailable} -{:else if items.length > 0 && apps.length > 0} +{:else if (items.length > 0 && apps.length > 0) || !loading} {#if items.length == 0} diff --git a/frontend/src/lib/components/flows/pickers/PickHubScriptQuick.svelte b/frontend/src/lib/components/flows/pickers/PickHubScriptQuick.svelte index 12588ab02d..8764cf45ff 100644 --- a/frontend/src/lib/components/flows/pickers/PickHubScriptQuick.svelte +++ b/frontend/src/lib/components/flows/pickers/PickHubScriptQuick.svelte @@ -19,8 +19,8 @@ try { return get(userStore) ? filter.length > 0 - ? await ScriptService.queryHubScripts({ text: filter, limit: 40, kind }) - : ((await ScriptService.getTopHubScripts({ limit: 40, kind, app: appFilter })).asks ?? + ? await ScriptService.queryHubScripts({ text: filter, limit: 20, kind }) + : ((await ScriptService.getTopHubScripts({ limit: 20, kind, app: appFilter })).asks ?? []) : undefined } catch (err) { @@ -248,4 +248,8 @@ {/if} +{:else} +
+ No scripts found. +
{/if}