Commit 5bd52eae authored by Alfredo Sumaran's avatar Alfredo Sumaran

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

parent 682df5c5
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;
......
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment