diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-04 02:28:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 02:28:25 +0100 |
commit | bfafb114a2135b1f21ba7e6d54ee13e8da75b629 (patch) | |
tree | cb1d7a806d8d9e9422579a430e89489d79d9fe9d /app/javascript | |
parent | 1c3192df6bf48eb4c3613f2a8744c809f6eeeec0 (diff) |
Fix showing profile's featured tags on individual statuses (#19712)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/components/navigation_portal.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/navigation_portal.js b/app/javascript/mastodon/components/navigation_portal.js index b2d054a3b..45407be43 100644 --- a/app/javascript/mastodon/components/navigation_portal.js +++ b/app/javascript/mastodon/components/navigation_portal.js @@ -21,7 +21,12 @@ class NavigationPortal extends React.PureComponent { render () { return ( <Switch> - <Route path='/@:acct/(tagged/:tagged?)?' component={AccountNavigation} /> + <Route path='/@:acct' exact component={AccountNavigation} /> + <Route path='/@:acct/tagged/:tagged?' exact component={AccountNavigation} /> + <Route path='/@:acct/with_replies' exact component={AccountNavigation} /> + <Route path='/@:acct/followers' exact component={AccountNavigation} /> + <Route path='/@:acct/following' exact component={AccountNavigation} /> + <Route path='/@:acct/media' exact component={AccountNavigation} /> <Route component={DefaultNavigation} /> </Switch> ); |