From 54623f5e30593a36a16ca96303837b2aa64fb645 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Tue, 2 Jun 2015 07:06:31 -0700 Subject: [PATCH] :bug:Fix admin dashboard target line --- app/views/admin/AnalyticsSubscriptionsView.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/AnalyticsSubscriptionsView.coffee b/app/views/admin/AnalyticsSubscriptionsView.coffee index 9db4a55de..44fc281ed 100644 --- a/app/views/admin/AnalyticsSubscriptionsView.coffee +++ b/app/views/admin/AnalyticsSubscriptionsView.coffee @@ -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