From 6adecb5db1d2c8047ac3b595eb844eef7fc55b0c Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Wed, 4 May 2022 10:21:42 +0200 Subject: [PATCH] Removed newsletter name from activity feed if no multiple newsletters refs https://github.com/TryGhost/Team/issues/1563 - Check if we have multiple newsletters in the members-events-fetcher - Pass the resulting value to the `parse-member-event` helper - Pass the value to the activity feed table and table-row components --- .../dashboard/latest-member-activity.hbs | 2 +- .../dashboard/v5/charts/recent-activity.hbs | 2 +- .../dashboard/v5/charts/recents.hbs | 2 +- .../app/components/member/activity-feed.hbs | 2 +- .../components/members-activity/table-row.hbs | 2 +- .../app/components/members-activity/table.hbs | 2 +- .../app/helpers/members-event-fetcher.js | 29 +++++++++++++++++-- ghost/admin/app/helpers/parse-member-event.js | 10 +++---- .../admin/app/templates/members-activity.hbs | 4 +-- 9 files changed, 40 insertions(+), 15 deletions(-) diff --git a/ghost/admin/app/components/dashboard/latest-member-activity.hbs b/ghost/admin/app/components/dashboard/latest-member-activity.hbs index 092764f1a6..b743702d96 100644 --- a/ghost/admin/app/components/dashboard/latest-member-activity.hbs +++ b/ghost/admin/app/components/dashboard/latest-member-activity.hbs @@ -25,7 +25,7 @@ {{#if eventsFetcher.data}}