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

Handle case when exclude urls are empty

parent 2c640ee6
......@@ -185,7 +185,9 @@ export default {
...(this.glFeatures.securityDastSiteProfilesAdditionalFields && {
...additionalFields,
auth: serializeFormObject(this.authSection.fields),
excludedUrls: this.parseExcludedUrls(this.form.fields.excludedUrls),
...(additionalFields.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