[Glitch] Fix showing profile's featured tags on individual statuses

Port bfafb114a2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
rebase/4.0.0rc2^2
Eugen Rochko 2022-11-04 02:28:25 +01:00 committed by Claire
parent fa293f03fa
commit 0437159056
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>
); );