diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-04 02:28:25 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-11-06 17:29:04 +0100 |
commit | 043715905635cea6449d3984af61bfd3a90a238d (patch) | |
tree | f0609a60a9a598d983fc41c0ba99a76241b53311 /app/javascript/flavours/glitch/components | |
parent | fa293f03faceb26229ec4b74c3c679b4cf800bd9 (diff) |
[Glitch] Fix showing profile's featured tags on individual statuses
Port bfafb114a2135b1f21ba7e6d54ee13e8da75b629 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/navigation_portal.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/navigation_portal.js b/app/javascript/flavours/glitch/components/navigation_portal.js index 16a8ca3f5..90afa1da0 100644 --- a/app/javascript/flavours/glitch/components/navigation_portal.js +++ b/app/javascript/flavours/glitch/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> ); |