mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed swapped paid members and MRR chart in anchor chart
no issue When selecting 'paid members', the MRR chart was shown and vice versa.
This commit is contained in:
parent
0d7ada66b3
commit
b3bb12a4ce
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
<div class="gh-dashboard5-stats-highlight"></div>
|
||||
</button>
|
||||
{{#if this.hasPaidTiers}}
|
||||
<button class="gh-dashboard5-stats-button {{if this.chartShowingMonthly 'is-selected'}}" type="button" {{on "click" (fn this.changeChartDisplay "monthly")}}>
|
||||
<button class="gh-dashboard5-stats-button {{if this.chartShowingPaid 'is-selected'}}" type="button" {{on "click" (fn this.changeChartDisplay "paid")}}>
|
||||
<Dashboard::v5::parts::ChartMetric
|
||||
@label={{gh-pluralize this.paidMembers "Paid member" without-count=true}}
|
||||
@value={{format-number this.paidMembers}}
|
||||
|
@ -18,7 +18,7 @@
|
|||
@large={{true}} />
|
||||
<div class="gh-dashboard5-stats-highlight"></div>
|
||||
</button>
|
||||
<button class="gh-dashboard5-stats-button {{if this.chartShowingPaid 'is-selected'}}" type="button" {{on "click" (fn this.changeChartDisplay "paid")}}>
|
||||
<button class="gh-dashboard5-stats-button {{if this.chartShowingMonthly 'is-selected'}}" type="button" {{on "click" (fn this.changeChartDisplay "monthly")}}>
|
||||
<Dashboard::v5::parts::ChartMetric
|
||||
@label="Monthly revenue (MRR)"
|
||||
@value="${{gh-price-amount this.currentMRR}}"
|
||||
|
|
Loading…
Add table
Reference in a new issue