Skip to content

Commit ee77d14

Browse files
length miss fix
1 parent 5ccf32a commit ee77d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/DataController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ DataController.prototype.resetRawData = function () {
344344

345345
for (var i in c) {
346346
cnum = groupNum;
347-
if (c[i].children && c[i].children) {
347+
if (c[i].children && c[i].children.length) {
348348
groupNum++;
349349
obj = {
350350
group: cnum,

0 commit comments

Comments
 (0)