diff --git a/frontend/src/lib/components/ScriptBuilder.svelte b/frontend/src/lib/components/ScriptBuilder.svelte index b4b2db15a6..b5180860bf 100644 --- a/frontend/src/lib/components/ScriptBuilder.svelte +++ b/frontend/src/lib/components/ScriptBuilder.svelte @@ -35,7 +35,6 @@ Settings, X } from 'lucide-svelte' - import autosize from 'svelte-autosize' import { SCRIPT_SHOW_BASH, SCRIPT_SHOW_GO } from '$lib/consts' import UnsavedConfirmationModal from './common/confirmationModal/UnsavedConfirmationModal.svelte' import { sendUserToast } from '$lib/toast' @@ -369,8 +368,6 @@ let dirtyPath = false let selectedTab: 'metadata' | 'runtime' | 'ui' = 'metadata' - - let descriptionTextArea: HTMLTextAreaElement | undefined @@ -411,38 +408,31 @@
- { - if (initialPath == '' && script.summary?.length > 0 && !dirtyPath) { - path?.setName( - script.summary - .toLowerCase() - .replace(/[^a-z0-9_]/g, '_') - .replace(/-+/g, '_') - .replace(/^-|-$/g, '') - ) - } - }} - > - updateFocus(true)} - on:blur={() => updateFocus(false)} - bind:value={script.summary} - placeholder={!active ? 'Short summary to be displayed when listed' : ''} + - -