diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-30 21:10:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-30 21:10:36 +0300 |
commit | 74cddf1b7c2e4b19ff5741ac9cf67dd7d113cea3 (patch) | |
tree | f6463acd890b63c64f93b44b4110fb09a925a055 /app/assets/javascripts/groups | |
parent | fbbf1e9bc53e9a0e8fc6f2018d1238a77f198e88 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r-- | app/assets/javascripts/groups/components/app.vue | 2 | ||||
-rw-r--r-- | app/assets/javascripts/groups/components/groups.vue | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/groups/components/app.vue b/app/assets/javascripts/groups/components/app.vue index 2a95b242510..a1ec5942d64 100644 --- a/app/assets/javascripts/groups/components/app.vue +++ b/app/assets/javascripts/groups/components/app.vue @@ -136,7 +136,7 @@ export default { this.updateGroups(res, Boolean(filterGroupsBy)); }); }, - fetchPage(page, filterGroupsBy, sortBy, archived) { + fetchPage({ page, filterGroupsBy, sortBy, archived }) { this.isLoading = true; return this.fetchGroups({ diff --git a/app/assets/javascripts/groups/components/groups.vue b/app/assets/javascripts/groups/components/groups.vue index 59a37b2a1d5..18a6d487703 100644 --- a/app/assets/javascripts/groups/components/groups.vue +++ b/app/assets/javascripts/groups/components/groups.vue @@ -32,10 +32,10 @@ export default { }, methods: { change(page) { - const filterGroupsParam = getParameterByName('filter'); - const sortParam = getParameterByName('sort'); - const archivedParam = getParameterByName('archived'); - eventHub.$emit(`${this.action}fetchPage`, page, filterGroupsParam, sortParam, archivedParam); + const filterGroupsBy = getParameterByName('filter'); + const sortBy = getParameterByName('sort'); + const archived = getParameterByName('archived'); + eventHub.$emit(`${this.action}fetchPage`, { page, filterGroupsBy, sortBy, archived }); }, }, }; |