update
This commit is contained in:
@@ -1 +1 @@
|
||||
0772f05a60809e9d9a11c25173a246724357520c
|
||||
3e7a82db7a8716d76557c4994a79910aaf4d765c
|
||||
@@ -18720,6 +18720,10 @@ components:
|
||||
$ref: "#/components/schemas/ScriptArgs"
|
||||
retry:
|
||||
$ref: "../../openflow.openapi.yaml#/components/schemas/Retry"
|
||||
active_mode:
|
||||
type: boolean
|
||||
default: true
|
||||
description: If set to false, each incomming event will be suspend job until ran manually or set it to true
|
||||
|
||||
required:
|
||||
- path
|
||||
@@ -18746,6 +18750,10 @@ components:
|
||||
$ref: "#/components/schemas/ScriptArgs"
|
||||
retry:
|
||||
$ref: "../../openflow.openapi.yaml#/components/schemas/Retry"
|
||||
active_mode:
|
||||
type: boolean
|
||||
default: true
|
||||
description: If set to false, each incomming event will be suspend job until ran manually or set it to true
|
||||
required:
|
||||
- path
|
||||
- script_path
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
import Tab from '$lib/components/common/tabs/Tab.svelte'
|
||||
import TriggerRetriesAndErrorHandler from '../TriggerRetriesAndErrorHandler.svelte'
|
||||
import { saveEmailTriggerFromCfg } from './utils'
|
||||
import TriggerStateToggle from '../TriggerStateToggle.svelte'
|
||||
|
||||
let {
|
||||
useDrawer = true,
|
||||
@@ -298,6 +299,8 @@
|
||||
</Section>
|
||||
{/if}
|
||||
|
||||
<TriggerStateToggle triggerPath={path} jobTriggerKind={'email'} bind:active_mode />
|
||||
|
||||
<EmailTriggerEditorConfigSection
|
||||
initialTriggerPath={initialPath}
|
||||
bind:local_part
|
||||
|
||||
@@ -29,6 +29,7 @@ export async function saveEmailTriggerFromCfg(
|
||||
workspaced_local_part: routeCfg.workspaced_local_part,
|
||||
error_handler_path: routeCfg.error_handler_path,
|
||||
error_handler_args: routeCfg.error_handler_path ? routeCfg.error_handler_args : undefined,
|
||||
active_mode: routeCfg.active_mode,
|
||||
retry: routeCfg.retry
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user