Commit 0a1b1966 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Remove default null value for parent param

parent bf65c49c
...@@ -6,7 +6,7 @@ export default class GroupsStore { ...@@ -6,7 +6,7 @@ export default class GroupsStore {
this.state.pageInfo = {}; this.state.pageInfo = {};
} }
setGroups(rawGroups, parent = null) { setGroups(rawGroups, parent) {
const parentGroup = parent; const parentGroup = parent;
const tree = this.buildTree(rawGroups, parentGroup); const tree = this.buildTree(rawGroups, parentGroup);
......
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