|
|
@@ -479,8 +479,8 @@ |
|
|
for(let j=0;j < fileSplits.length;j++){ |
|
|
for(let j=0;j < fileSplits.length;j++){ |
|
|
if(fileSplits[j] == ""){ |
|
|
if(fileSplits[j] == ""){ |
|
|
if(data[i].FileName[data[i].FileName.length -1] =="/"){ |
|
|
if(data[i].FileName[data[i].FileName.length -1] =="/"){ |
|
|
if(Object.keys(parentNodeMap[fileSplits[j-1]]).length ==0){ |
|
|
|
|
|
parentNodeMap[fileSplits[j-1]][dirKey]="true"; |
|
|
|
|
|
|
|
|
if(Object.keys(parentNodeMap).length ==0){ |
|
|
|
|
|
parentNodeMap[dirKey]="true"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
|