Removed subscription source when it's unknown

refs https://github.com/TryGhost/Team/issues/1904
This commit is contained in:
Djordje Vlaisavljevic 2022-09-27 11:30:23 +02:00
parent 89d4e3daf9
commit e98dda15f9

View File

@ -215,10 +215,13 @@
{{/if}}
{{/if}}
<div class="gh-membertier-details">
{{#if (eq sub.attribution.referrerSource 'Unknown')}}
{{else}}
<div class="gh-membertier-detail">
<h4>Subscription source</h4>
<p><span class="fw6">{{sub.attribution.referrerSource}}</span></p>
</div>
{{/if}}
{{#if (and sub.attribution sub.attribution.url sub.attribution.title)}}
<div class="gh-membertier-detail">
<h4>Subscription page</h4>