Remove default null value for parent param
This commit is contained in:
parent
bf65c49c69
commit
0a1b196643
|
@ -6,7 +6,7 @@ export default class GroupsStore {
|
|||
this.state.pageInfo = {};
|
||||
}
|
||||
|
||||
setGroups(rawGroups, parent = null) {
|
||||
setGroups(rawGroups, parent) {
|
||||
const parentGroup = parent;
|
||||
const tree = this.buildTree(rawGroups, parentGroup);
|
||||
|
||||
|
|
Loading…
Reference in New Issue