From 0ce5339a7b5286162a95eadfa34d37d041bd102f 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 c45765ec4bb..f0a3834498e 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 {
- +