diff --git a/ghost/admin/app/components/gh-member-details.hbs b/ghost/admin/app/components/gh-member-details.hbs index 5bff3a677e..82b09878d7 100644 --- a/ghost/admin/app/components/gh-member-details.hbs +++ b/ghost/admin/app/components/gh-member-details.hbs @@ -64,7 +64,7 @@ {{/if}}

- {{#if (and (feature 'sourceAttribution') @member.attribution)}} + {{#if (and (feature 'sourceAttribution') this.showAttribution)}}

Attribution

{{#if this.referrerSource}} diff --git a/ghost/admin/app/components/gh-member-details.js b/ghost/admin/app/components/gh-member-details.js index 545e4f93bf..3db05f8285 100644 --- a/ghost/admin/app/components/gh-member-details.js +++ b/ghost/admin/app/components/gh-member-details.js @@ -7,4 +7,8 @@ export default class extends Component { get referrerSource() { return this.args.member.get('attribution')?.referrer_source; } + + get showAttribution() { + return this.referrerSource || (this.args.member?.attribution?.url && this.args.member?.attribution?.title); + } }