mirror of
https://github.com/status-im/burnchart.git
synced 2025-01-31 21:06:01 +00:00
show chart all the way to now
This commit is contained in:
parent
1d9f887612
commit
82ad2a9f0e
@ -71,6 +71,9 @@ module.exports =
|
||||
total -= velocity if days[i] and not days[i].off_day
|
||||
day
|
||||
|
||||
# Do we need to make a link to right now?
|
||||
days.push { date: now, points: 0 } if (now = new Date()) > cutoff
|
||||
|
||||
cb null, days
|
||||
|
||||
# Render the D3 chart.
|
||||
|
Loading…
x
Reference in New Issue
Block a user