Fix a bug where empty webhook url causes an issue (#1285)
This commit is contained in:
@@ -253,7 +253,7 @@ function RunWorkflowForm({
|
||||
name="webhookCallbackUrl"
|
||||
rules={{
|
||||
validate: (value) => {
|
||||
if (value === null) {
|
||||
if (value === null || value === "") {
|
||||
return;
|
||||
}
|
||||
if (typeof value !== "string") {
|
||||
|
||||
Reference in New Issue
Block a user