mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated dashboard controller to fetch 5 events for timeline
refs https://github.com/TryGhost/Team/issues/469
This commit is contained in:
parent
110335c7ac
commit
c7bc501d23
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ export default class DashboardController extends Controller {
|
||||||
|
|
||||||
loadEvents() {
|
loadEvents() {
|
||||||
this.eventsLoading = true;
|
this.eventsLoading = true;
|
||||||
this.membersStats.fetchTimeline().then(({events}) => {
|
this.membersStats.fetchTimeline({limit: 5}).then(({events}) => {
|
||||||
this.eventsData = events;
|
this.eventsData = events;
|
||||||
this.eventsLoading = false;
|
this.eventsLoading = false;
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue