Commit 981959b8 authored by Simon Knox's avatar Simon Knox

Merge branch 'philipcunningham-edit-profile-327556' into 'master'

Handle when excludedUrls is null for on-demand

See merge request gitlab-org/gitlab!59205
parents 7d443c22 a44ccb8c
......@@ -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