Skip to content
Snippets Groups Projects
Commit 5bd52eae authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Use object destructuring when passing more than 3 params to follow style guide

parent 682df5c5
No related branches found
No related tags found
No related merge requests found
import FilterableList from '~/filterable_list';
 
export default class GroupFilterableList extends FilterableList {
constructor(form, filter, holder, store) {
constructor({ form, filter, holder, store }) {
super(form, filter, holder);
 
this.store = store;
Loading
Loading
Loading
Loading
@@ -78,7 +78,7 @@ $(() => {
created() {
let groupFilterList = null;
 
groupFilterList = new GroupFilterableList(form, filter, holder, store);
groupFilterList = new GroupFilterableList({ form, filter, holder, store });
groupFilterList.initSearch();
 
this.fetchGroups()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment