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
5bd52eae
Commit
5bd52eae
authored
May 31, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use object destructuring when passing more than 3 params to follow style guide
parent
682df5c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/groups/groups_filterable_list.js
app/assets/javascripts/groups/groups_filterable_list.js
+1
-1
app/assets/javascripts/groups/index.js
app/assets/javascripts/groups/index.js
+1
-1
No files found.
app/assets/javascripts/groups/groups_filterable_list.js
View file @
5bd52eae
import
FilterableList
from
'
~/filterable_list
'
;
import
FilterableList
from
'
~/filterable_list
'
;
export
default
class
GroupFilterableList
extends
FilterableList
{
export
default
class
GroupFilterableList
extends
FilterableList
{
constructor
(
form
,
filter
,
holder
,
store
)
{
constructor
(
{
form
,
filter
,
holder
,
store
}
)
{
super
(
form
,
filter
,
holder
);
super
(
form
,
filter
,
holder
);
this
.
store
=
store
;
this
.
store
=
store
;
...
...
app/assets/javascripts/groups/index.js
View file @
5bd52eae
...
@@ -78,7 +78,7 @@ $(() => {
...
@@ -78,7 +78,7 @@ $(() => {
created
()
{
created
()
{
let
groupFilterList
=
null
;
let
groupFilterList
=
null
;
groupFilterList
=
new
GroupFilterableList
(
form
,
filter
,
holder
,
store
);
groupFilterList
=
new
GroupFilterableList
(
{
form
,
filter
,
holder
,
store
}
);
groupFilterList
.
initSearch
();
groupFilterList
.
initSearch
();
this
.
fetchGroups
()
this
.
fetchGroups
()
...
...
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