mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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
2 changed files with 3 additions and 2 deletions
|
@ -73,7 +73,7 @@
|
||||||
<div class="gh-dashboard-list-title">Time</div>
|
<div class="gh-dashboard-list-title">Time</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gh-dashboard-list-body">
|
<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}}
|
{{#if eventsFetcher.isError}}
|
||||||
<div class="gh-dashboard-list-error">
|
<div class="gh-dashboard-list-error">
|
||||||
<p>There was an error loading events</p>
|
<p>There was an error loading events</p>
|
||||||
|
|
|
@ -9,7 +9,8 @@ export default class Recents extends Component {
|
||||||
|
|
||||||
@tracked selected = 'posts';
|
@tracked selected = 'posts';
|
||||||
@tracked posts = [];
|
@tracked posts = [];
|
||||||
|
excludedEventTypes = ['aggregated_click_event'];
|
||||||
|
|
||||||
@action
|
@action
|
||||||
async loadPosts() {
|
async loadPosts() {
|
||||||
this.posts = await this.store.query('post', {limit: 5, filter: 'status:[published,sent]', order: 'published_at desc'});
|
this.posts = await this.store.query('post', {limit: 5, filter: 'status:[published,sent]', order: 'published_at desc'});
|
||||||
|
|
Loading…
Add table
Reference in a new issue