Fixed #281 - Infinite loop on treetable

pull/310/head
cagataycivici 2020-04-18 21:21:38 +03:00
parent eafc5b5a96
commit 965dffa968
1 changed files with 0 additions and 12 deletions

View File

@ -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) {