Fix a bug where empty webhook url causes an issue (#1285)

This commit is contained in:
Shuchang Zheng
2024-11-28 06:51:18 -08:00
committed by GitHub
parent c4338e9b21
commit 28250e14de

View File

@@ -253,7 +253,7 @@ function RunWorkflowForm({
name="webhookCallbackUrl"
rules={{
validate: (value) => {
if (value === null) {
if (value === null || value === "") {
return;
}
if (typeof value !== "string") {