diff --git a/ghost/admin/app/components/dashboard/charts/recents.hbs b/ghost/admin/app/components/dashboard/charts/recents.hbs index 90b83b43f4..9f89c55ca1 100644 --- a/ghost/admin/app/components/dashboard/charts/recents.hbs +++ b/ghost/admin/app/components/dashboard/charts/recents.hbs @@ -73,7 +73,7 @@
Time
- {{#let (members-event-fetcher filter=(members-event-filter excludeEmailEvents=true) pageSize=5) as |eventsFetcher|}} + {{#let (members-event-fetcher filter=(members-event-filter excludeEmailEvents=true excludedEvents=this.excludedEventTypes) pageSize=5) as |eventsFetcher|}} {{#if eventsFetcher.isError}}

There was an error loading events

diff --git a/ghost/admin/app/components/dashboard/charts/recents.js b/ghost/admin/app/components/dashboard/charts/recents.js index 48b4a8fa7c..2adb705397 100644 --- a/ghost/admin/app/components/dashboard/charts/recents.js +++ b/ghost/admin/app/components/dashboard/charts/recents.js @@ -9,7 +9,8 @@ export default class Recents extends Component { @tracked selected = 'posts'; @tracked posts = []; - + excludedEventTypes = ['aggregated_click_event']; + @action async loadPosts() { this.posts = await this.store.query('post', {limit: 5, filter: 'status:[published,sent]', order: 'published_at desc'});