Fixed #281 - Infinite loop on treetable
parent
eafc5b5a96
commit
965dffa968
|
@ -506,12 +506,6 @@ export default {
|
|||
return (this.d_sortOrder * result);
|
||||
});
|
||||
|
||||
for (let i = 0; i < _nodes.length; i++) {
|
||||
if (_nodes[i].children && _nodes[i].children.length) {
|
||||
_nodes[i].children = this.sortNodesSingle(_nodes[i].children);
|
||||
}
|
||||
}
|
||||
|
||||
return _nodes;
|
||||
},
|
||||
sortMultiple(nodes) {
|
||||
|
@ -523,12 +517,6 @@ export default {
|
|||
return this.multisortField(node1, node2, 0);
|
||||
});
|
||||
|
||||
for (let i = 0; i < _nodes.length; i++) {
|
||||
if (_nodes[i].children && _nodes[i].children.length) {
|
||||
_nodes[i].children = this.sortNodesMultiple(_nodes[i].children);
|
||||
}
|
||||
}
|
||||
|
||||
return _nodes;
|
||||
},
|
||||
multisortField(node1, node2, index) {
|
||||
|
|
Loading…
Reference in New Issue