Merge pull request #322 from dod-ccpo/fix-budget-chart-projection-line

Fix budget chart projection line
This commit is contained in:
andrewdds 2018-09-25 08:25:41 -04:00 committed by GitHub
commit 293f94cae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,8 @@ export default {
this.spendPath += this.spendPath === '' ? 'M' : ' L' this.spendPath += this.spendPath === '' ? 'M' : ' L'
this.spendPath += cumulativePoint this.spendPath += cumulativePoint
lastSpendPoint = cumulativePoint lastSpendPoint = cumulativePoint
} else {
} else if (lastSpendPoint !== '') {
this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L' this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L'
this.projectedPath += cumulativePoint this.projectedPath += cumulativePoint
} }