Commit 30b3efc7 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent eadb779e
...@@ -43,11 +43,12 @@ async function arrange(data) ...@@ -43,11 +43,12 @@ async function arrange(data)
{ {
for (let i=0;i<all.length;i++) for (let i=0;i<all.length;i++)
if (all[i].uniq ===data.uniq) { if (all[i].uniq ===data.uniq) {
all[i].data.push(data.arr) for (let j=0;j<data.arr.length;j++)
all[i].data.push(data.arr[j])
return return
} }
all.push({uniq:data.uniq,data:[data.arr]}) all.push({uniq:data.uniq,data:data.arr})
} }
......
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