mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -315,7 +315,7 @@ const FormInputItem: FC<Props> = ({
|
||||
onChange({
|
||||
...value,
|
||||
[variable]: {
|
||||
...(varInput || {}),
|
||||
...varInput,
|
||||
type: VarKindType.constant,
|
||||
value: selected,
|
||||
},
|
||||
|
||||
@ -186,7 +186,7 @@ const useConfig = (id: string, payload: PluginTriggerNodeType) => {
|
||||
(variable: InputVar, varDetail: InputVar) => {
|
||||
const newInputs = produce(inputs, (draft) => {
|
||||
const nextEventParameters = normalizeEventParameters({
|
||||
...(draft.event_parameters || {}),
|
||||
...draft.event_parameters,
|
||||
[variable.variable]: {
|
||||
type: VarKindType.variable,
|
||||
value: varDetail.variable,
|
||||
|
||||
Reference in New Issue
Block a user