diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-27 15:11:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-27 15:11:01 +0300 |
commit | c52a9411d8e66b8c6a1a1b3672626a326d73e884 (patch) | |
tree | 14fbb7768d935c7751cc8b2b7a66887312908312 /app/assets/javascripts/lib | |
parent | 8588e8b9316538f27f45a6e380bd0663bb509d66 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/url_utility.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/url_utility.js b/app/assets/javascripts/lib/utils/url_utility.js index ca90eee69c7..b1a0baf8150 100644 --- a/app/assets/javascripts/lib/utils/url_utility.js +++ b/app/assets/javascripts/lib/utils/url_utility.js @@ -178,7 +178,7 @@ export function mergeUrlParams(params, url, options = {}) { const mergedKeys = sort ? Object.keys(merged).sort() : Object.keys(merged); const newQuery = mergedKeys - .filter((key) => merged[key] !== null) + .filter((key) => merged[key] !== null && merged[key] !== undefined) .map((key) => { let value = merged[key]; const encodedKey = encodeURIComponent(key); |