mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
fix script drawer editor extra config
This commit is contained in:
@@ -227,7 +227,6 @@
|
||||
path: initialPath
|
||||
})
|
||||
|
||||
let createScheduleAfterFlow = false
|
||||
if (scheduleExists) {
|
||||
const schedule = await ScheduleService.getSchedule({
|
||||
workspace: $workspaceStore ?? '',
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
kind: 'script' | 'failure' | 'trigger' | 'command' | 'approval' | undefined
|
||||
envs?: string[]
|
||||
ws_error_handler_muted?: boolean
|
||||
dedicated_worker?: boolean
|
||||
}
|
||||
| undefined = undefined
|
||||
|
||||
@@ -79,17 +80,12 @@
|
||||
await ScriptService.createScript({
|
||||
workspace: $workspaceStore!,
|
||||
requestBody: {
|
||||
path: script.path,
|
||||
summary: script.summary,
|
||||
...script,
|
||||
description: script.description ?? '',
|
||||
content: script.content,
|
||||
parent_hash: script.hash != '' ? script.hash : undefined,
|
||||
schema: script.schema,
|
||||
is_template: false,
|
||||
language: script.language,
|
||||
kind: script.kind as Script.kind | undefined,
|
||||
envs: script.envs,
|
||||
ws_error_handler_muted: script.ws_error_handler_muted
|
||||
lock: undefined
|
||||
}
|
||||
})
|
||||
savedScript = cloneDeep(script)
|
||||
|
||||
Reference in New Issue
Block a user