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