From 764abc5e506a7261530d7993dacf8997959f3cea Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 12 May 2020 09:31:11 -0400 Subject: [PATCH 1/2] Allow user to click subscriber badge icon --- app/panel/components/Summary.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/panel/components/Summary.jsx b/app/panel/components/Summary.jsx index 0d7313164..7908fcb70 100644 --- a/app/panel/components/Summary.jsx +++ b/app/panel/components/Summary.jsx @@ -214,8 +214,9 @@ class Summary extends React.Component { */ clickUpgradeBannerOrGoldPlusIcon() { sendMessage('ping', 'plus_panel_from_badge'); + const isSubscriber = this._isPlusSubscriber() || this._isPremiumSubscriber(); - this.props.history.push(this._isPlusSubscriber() ? '/subscription/info' : `/subscribe/${!!this.props.user}`); + this.props.history.push(isSubscriber ? '/subscription/info' : `/subscribe/${!!this.props.user}`); } /** From d8d8f6ccd9efafff1a1855f65e6219755b48f9a6 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 12 May 2020 12:23:52 -0400 Subject: [PATCH 2/2] Give premium users access to historical stats graph --- app/panel/components/Stats.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/panel/components/Stats.jsx b/app/panel/components/Stats.jsx index 8ec7ac7c7..2aba3806c 100644 --- a/app/panel/components/Stats.jsx +++ b/app/panel/components/Stats.jsx @@ -529,7 +529,7 @@ class Stats extends React.Component { return (