Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ceeb7dc0
Commit
ceeb7dc0
authored
Jul 11, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate the deprecated "urlParamsToObject" to "queryToObject"
Changelog: other EE: true
parent
bbc37c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
+4
-4
No files found.
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
View file @
ceeb7dc0
...
...
@@ -2,8 +2,7 @@ import Vue from 'vue';
import
{
mapActions
}
from
'
vuex
'
;
import
{
parseBoolean
,
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
visitUrl
,
mergeUrlParams
,
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
visitUrl
,
mergeUrlParams
,
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
EpicItem
from
'
./components/epic_item.vue
'
;
...
...
@@ -64,8 +63,9 @@ export default () => {
supportedPresetTypes
.
indexOf
(
dataset
.
presetType
)
>
-
1
?
dataset
.
presetType
:
PRESET_TYPES
.
MONTHS
;
// eslint-disable-next-line import/no-deprecated
const
rawFilterParams
=
urlParamsToObject
(
window
.
location
.
search
.
substring
(
1
));
const
rawFilterParams
=
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
,
});
const
filterParams
=
{
...
convertObjectPropsToCamelCase
(
rawFilterParams
,
{
dropKeys
:
[
'
scope
'
,
'
utf8
'
,
'
state
'
,
'
sort
'
,
'
layout
'
],
// These keys are unsupported/unnecessary
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment