Made the attribution widget show if you don't have paid tiers

refs https://github.com/TryGhost/Team/issues/1986
This commit is contained in:
Djordje Vlaisavljevic 2022-09-29 19:37:09 +02:00
parent e3600d70ef
commit 40c66dae6a

View File

@ -22,18 +22,18 @@
{{else}}
<Dashboard::Charts::Anchor />
{{/if}}
{{#if this.hasPaidTiers}}
{{#if (feature 'sourceAttribution')}}
{{#if (feature 'sourceAttribution')}}
{{#if this.hasPaidTiers}}
<section class="gh-dashboard-section">
<article class="gh-dashboard-box gh-dashboard-minicharts-attribution">
<Dashboard::Charts::PaidBreakdown />
<Dashboard::Charts::PaidMix />
</article>
</section>
{{#unless this.membersUtils.isMembersInviteOnly}}
<Dashboard::Charts::Attribution />
{{/unless}}
{{/if}}
{{#unless this.membersUtils.isMembersInviteOnly}}
<Dashboard::Charts::Attribution />
{{/unless}}
{{/if}}
{{#if this.areNewslettersEnabled}}
<Dashboard::Charts::Engagement />