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
8c321d20
Commit
8c321d20
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
ae94bd46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
ee/app/assets/javascripts/test_case_list/test_case_list_bundle.js
...ssets/javascripts/test_case_list/test_case_list_bundle.js
+7
-6
No files found.
ee/app/assets/javascripts/test_case_list/test_case_list_bundle.js
View file @
8c321d20
...
...
@@ -3,8 +3,7 @@ import VueApollo from 'vue-apollo';
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
{
convertObjectPropsToCamelCase
,
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
TestCaseListApp
from
'
./components/test_case_list_root.vue
'
;
...
...
@@ -33,10 +32,12 @@ const initTestCaseList = ({ mountPointSelector }) => {
}
=
mountPointEl
.
dataset
;
const
initialFilterParams
=
Object
.
assign
(
// eslint-disable-next-line import/no-deprecated
convertObjectPropsToCamelCase
(
urlParamsToObject
(
window
.
location
.
search
.
substring
(
1
)),
{
dropKeys
:
[
'
scope
'
,
'
utf8
'
,
'
state
'
,
'
sort
'
],
// These keys are unsupported/unnecessary
}),
convertObjectPropsToCamelCase
(
queryToObject
(
window
.
location
.
search
.
substring
(
1
),
{
gatherArrays
:
true
}),
{
dropKeys
:
[
'
scope
'
,
'
utf8
'
,
'
state
'
,
'
sort
'
],
// These keys are unsupported/unnecessary
},
),
);
return
new
Vue
({
...
...
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