From aa1f74cba6556a6b86371e992f975493b958987d Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 31 May 2018 16:46:02 +0200 Subject: [PATCH] Make the refresh trends button refresh trends (#7685) --- app/javascript/mastodon/features/getting_started/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index c45765ec4b..f0a3834498 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -82,6 +82,10 @@ export default class GettingStarted extends ImmutablePureComponent { setTimeout(() => this.props.fetchTrends(), 5000); } + handleRefreshTrends = () => { + this.props.fetchTrends(); + } + render () { const { intl, myAccount, multiColumn, unreadFollowRequests, trends } = this.props; @@ -138,7 +142,7 @@ export default class GettingStarted extends ImmutablePureComponent {
- +