Skip to content
Permalink
Browse files

Fix wrong redirect from getting started to home in advanced Web UI (t…

…ootsuite#10839)

* update Ruby to 2.5.3

* Link to Getting Started will not redirect to Home in multi-column UI (tootsuite#10835)
  • Loading branch information...
Hanage999 authored and Gargron committed May 26, 2019
1 parent 0e445eb commit 4a818ac2deffaff9925ce5b160dbc5385b815a87
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/javascript/mastodon/features/getting_started/index.js
@@ -76,9 +76,9 @@ class GettingStarted extends ImmutablePureComponent {
};

componentDidMount () {
const { myAccount, fetchFollowRequests } = this.props;
const { myAccount, fetchFollowRequests, multiColumn } = this.props;

if (window.innerWidth >= NAVIGATION_PANEL_BREAKPOINT) {
if (!multiColumn && window.innerWidth >= NAVIGATION_PANEL_BREAKPOINT) {
this.context.router.history.replace('/timelines/home');
return;
}

0 comments on commit 4a818ac

Please sign in to comment.
You can’t perform that action at this time.