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
74e0ace7
Commit
74e0ace7
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
parent
0842aff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/assets/javascripts/members/components/members_tabs.vue
app/assets/javascripts/members/components/members_tabs.vue
+2
-4
No files found.
app/assets/javascripts/members/components/members_tabs.vue
View file @
74e0ace7
<
script
>
import
{
GlTabs
,
GlTab
,
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
mapState
}
from
'
vuex
'
;
// eslint-disable-next-line import/no-deprecated
import
{
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
MEMBER_TYPES
,
TAB_QUERY_PARAM_VALUES
,
ACTIVE_TAB_QUERY_PARAM_NAME
}
from
'
../constants
'
;
import
MembersApp
from
'
./app.vue
'
;
...
...
@@ -59,8 +58,7 @@ export default {
},
}),
urlParams
()
{
// eslint-disable-next-line import/no-deprecated
return
Object
.
keys
(
urlParamsToObject
(
window
.
location
.
search
));
return
Object
.
keys
(
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
}));
},
activeTabIndexCalculatedFromUrlParams
()
{
return
this
.
$options
.
TABS
.
findIndex
(({
namespace
})
=>
{
...
...
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