Commit a44ccb8c authored by Philip Cunningham's avatar Philip Cunningham

Handle when excludedUrls is null for on-demand

- Default to empty array when excludedUrls is null
parent e2f2c941
......@@ -73,7 +73,7 @@ export default {
profileName: initFormField({ value: name }),
targetUrl: initFormField({ value: targetUrl }),
excludedUrls: initFormField({
value: excludedUrls.join(EXCLUDED_URLS_SEPARATOR),
value: (excludedUrls || []).join(EXCLUDED_URLS_SEPARATOR),
required: false,
skipValidation: true,
}),
......
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