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
4b2236b9
Commit
4b2236b9
authored
Jul 10, 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
c050df26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ee/app/assets/javascripts/boards/boards_util.js
ee/app/assets/javascripts/boards/boards_util.js
+2
-4
No files found.
ee/app/assets/javascripts/boards/boards_util.js
View file @
4b2236b9
import
{
FiltersInfo
as
FiltersInfoCE
}
from
'
~/boards/boards_util
'
;
import
{
getIdFromGraphQLId
}
from
'
~/graphql_shared/utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
objectToQuery
,
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
objectToQuery
,
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
EPIC_LANE_BASE_HEIGHT
,
IterationFilterType
,
...
...
@@ -94,8 +93,7 @@ export function formatEpicListsPageInfo(lists) {
export
function
transformBoardConfig
(
boardConfig
)
{
const
updatedBoardConfig
=
{};
// eslint-disable-next-line import/no-deprecated
const
passedFilterParams
=
urlParamsToObject
(
window
.
location
.
search
);
const
passedFilterParams
=
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
});
const
updateScopeObject
=
(
key
,
value
=
''
)
=>
{
if
(
value
===
null
||
value
===
''
)
return
;
// Comparing with value string because weight can be a number
...
...
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