diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte index 42fe3c01ad..9b6a3a62be 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte @@ -21,7 +21,7 @@ $app.hiddenInlineScripts[index] = { hidden: true, inlineScript: undefined, - name: `Background Script ${index}`, + name: `Background Runnable ${index}`, fields: {}, type: 'runnableByName', recomputeIds: undefined diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte index 325cdd98e1..0d084f6d35 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte @@ -44,13 +44,13 @@ } } let index = 0 - let newScriptPath = `Background Script ${index}` + let newScriptPath = `Background Runnable ${index}` const names = getAllScriptNames($app) // Find a name that is not used by any other inline script while (names.includes(newScriptPath)) { - newScriptPath = `Background Script ${++index}` + newScriptPath = `Background Runnable ${++index}` } if (!$app.hiddenInlineScripts) { @@ -159,7 +159,7 @@ Background runnables Background runnables are triggered upon global refresh or when their input changes. The result of a background runnable can be shared among many components. @@ -194,7 +194,7 @@ {/if} {/each} {:else} -
No background scripts
+
No background runnable
{/if}