Fixed aggregated click events visible in dashboard

refs https://github.com/TryGhost/Team/issues/2175
This commit is contained in:
Simon Backx 2022-10-27 17:29:51 +02:00
parent 2903a30d39
commit 5cb3c43e80
2 changed files with 3 additions and 2 deletions

View File

@ -73,7 +73,7 @@
<div class="gh-dashboard-list-title">Time</div>
</div>
<div class="gh-dashboard-list-body">
{{#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}}
<div class="gh-dashboard-list-error">
<p>There was an error loading events</p>

View File

@ -9,6 +9,7 @@ export default class Recents extends Component {
@tracked selected = 'posts';
@tracked posts = [];
excludedEventTypes = ['aggregated_click_event'];
@action
async loadPosts() {