Commit 77f8b9fa authored by Dheeraj Joshi's avatar Dheeraj Joshi

Handle case when exclude urls are empty

parent 2c640ee6
...@@ -185,8 +185,10 @@ export default { ...@@ -185,8 +185,10 @@ export default {
...(this.glFeatures.securityDastSiteProfilesAdditionalFields && { ...(this.glFeatures.securityDastSiteProfilesAdditionalFields && {
...additionalFields, ...additionalFields,
auth: serializeFormObject(this.authSection.fields), auth: serializeFormObject(this.authSection.fields),
...(additionalFields.excludedUrls && {
excludedUrls: this.parseExcludedUrls(this.form.fields.excludedUrls), excludedUrls: this.parseExcludedUrls(this.form.fields.excludedUrls),
}), }),
}),
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment