Skip to content

Commit 37064bf

Browse files
committed
Link to Getting Started will not redirect to Home in multi-column UI (mastodon#10835)
1 parent 77efe49 commit 37064bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • app/javascript/mastodon/features/getting_started

app/javascript/mastodon/features/getting_started/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ class GettingStarted extends ImmutablePureComponent {
7676
};
7777

7878
componentDidMount () {
79-
const { myAccount, fetchFollowRequests } = this.props;
79+
const { myAccount, fetchFollowRequests, multiColumn } = this.props;
8080

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

0 commit comments

Comments
 (0)