mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
🐛Fix admin dashboard target line
This commit is contained in:
parent
273b3156e0
commit
54623f5e30
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ module.exports = class AnalyticsSubscriptionsView extends RootView
|
|||
lineColor: lineMetadata[targetSubsID].color
|
||||
strokeWidth: lineMetadata[targetSubsID].strokeWidth
|
||||
min: 0
|
||||
max: @targetSubCount
|
||||
max: Math.max(@targetSubCount, d3.max(@subs, (d) -> d.total))
|
||||
|
||||
## Cancelled
|
||||
|
||||
|
|
Loading…
Reference in a new issue