Skip to content

Commit

Permalink
Fix a missing redirection on getting-started in multi column mode (ma…
Browse files Browse the repository at this point in the history
  • Loading branch information
Signez committed Jul 20, 2023
1 parent b848ba3 commit 586b1c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/mastodon/features/ui/index.jsx
Expand Up @@ -184,6 +184,7 @@ class SwitchingColumnsArea extends PureComponent {

{singleColumn ? <Redirect from='/deck' to='/home' exact /> : null}
{singleColumn && pathName.startsWith('/deck/') ? <Redirect from={pathName} to={pathName.slice(5)} /> : null}
{!singleColumn && pathName === '/getting-started' ? <Redirect from='/getting-started' to='/deck/getting-started' exact /> : null}

<WrappedRoute path='/getting-started' component={GettingStarted} content={children} />
<WrappedRoute path='/keyboard-shortcuts' component={KeyboardShortcuts} content={children} />
Expand Down

0 comments on commit 586b1c9

Please sign in to comment.