Improve run workflow form (#1032)

This commit is contained in:
Shuchang Zheng
2024-10-23 07:12:36 -07:00
committed by GitHub
parent 96c807e949
commit 426acbc3e5
5 changed files with 155 additions and 162 deletions

View File

@@ -220,7 +220,9 @@ function WorkflowParameterAddPanel({ type, onClose, onSave }: Props) {
parameterType: "workflow",
dataType: parameterType,
description,
defaultValue: defaultValue,
defaultValue: defaultValueState.hasDefaultValue
? defaultValue
: null,
});
}
if (type === "credential") {

View File

@@ -253,7 +253,9 @@ function WorkflowParameterEditPanel({
parameterType: "workflow",
dataType: parameterType,
description,
defaultValue: defaultValue,
defaultValue: defaultValueState.hasDefaultValue
? defaultValue
: null,
});
}
if (type === "credential") {