Commit 42f31993 authored by Tim Zallmann's avatar Tim Zallmann

Updated Description of the issue according to discussions in the CE MR

parent da15ef7e
......@@ -39,7 +39,6 @@ export default class GroupsStore {
this.state.pageInfo = paginationInfo;
}
// Here be dragons
buildTree(rawGroups, parentGroup) {
const groups = this.decorateGroups(rawGroups);
const tree = {};
......@@ -69,8 +68,7 @@ export default class GroupsStore {
// e.g. If this group is `one / two / three` we are going to put it inside `one`
orphans.push(currentGroup);
// Add
// Lo metemos a tree para conservar el orden original
// Add to tree to preserve original order
tree[`id${currentGroup.id}`] = currentGroup;
}
} else {
......
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