Commit 0d605f32 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent acffb2e5
......@@ -60,9 +60,9 @@ let index=arrNew[0].index
sums = sums + parseFloat(arr[j].profit)
if (arrNew.length ===0)
arrNew.push({sum: sums, index: i,date:arr[j].date})
else if (arrNew[arrNew.length-1].sum > sums)
// if (arrNew.length ===0)
// arrNew.push({sum: sums, index: i,date:arr[j].date})
// else if (arrNew[arrNew.length-1].sum > sums)
arrNew.push({sum: sums, index: i,date:arr[j].date})
......
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