gearheads
/
mastodon
Archived
2
0
Fork 0

Fix showing profile's featured tags on individual statuses (#19712)

gh/stable
Eugen Rochko 2022-11-04 02:28:25 +01:00 committed by GitHub
parent 1c3192df6b
commit bfafb114a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,12 @@ class NavigationPortal extends React.PureComponent {
render () { render () {
return ( return (
<Switch> <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} /> <Route component={DefaultNavigation} />
</Switch> </Switch>
); );