mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
Fixed aggregated click events visible in dashboard
refs https://github.com/TryGhost/Team/issues/2175
This commit is contained in:
parent
2903a30d39
commit
5cb3c43e80
@ -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>
|
||||
|
@ -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'});
|
||||
|
Loading…
Reference in New Issue
Block a user