diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-05-07 14:33:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 14:33:57 +0200 |
commit | 0ad240cb6b8662e31dfae6279cbee07a4c75b231 (patch) | |
tree | a0a95773093d562103ca121d8ea90366a1f5d291 /app/javascript/mastodon/features/ui/index.js | |
parent | 74081433d0078784b7c2139f6caaa812740632b2 (diff) |
Change home timeline to reload after follow recommendations in web UI (#16160)
Diffstat (limited to 'app/javascript/mastodon/features/ui/index.js')
-rw-r--r-- | app/javascript/mastodon/features/ui/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index 078a69f0f..2b9fe1603 100644 --- a/app/javascript/mastodon/features/ui/index.js +++ b/app/javascript/mastodon/features/ui/index.js @@ -361,10 +361,9 @@ class UI extends React.PureComponent { this.props.dispatch(closeOnboarding()); } - this.props.dispatch(fetchMarkers()); this.props.dispatch(expandHomeTimeline()); this.props.dispatch(expandNotifications()); - + setTimeout(() => this.props.dispatch(fetchMarkers()), 500); setTimeout(() => this.props.dispatch(fetchFilters()), 500); this.hotkeys.__mousetrap__.stopCallback = (e, element) => { |