diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-09-27 07:24:04 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-09-28 13:07:27 +0200 |
commit | 345b64340bd3dfae4e127eeba1cb7fbdd0a2763d (patch) | |
tree | 2d2c0b0cf174a4be5fc58769901b046fa2d88dfe /app/javascript/flavours/glitch/features/follow_recommendations | |
parent | 188d66c9a81b508fd6c036aaff05048c47d1ea72 (diff) |
[Glitch] Fix incorrect use of old WebUI paths
Port 6b19e1e632491117bb1d3458fff31cd353b761b7 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/follow_recommendations')
-rw-r--r-- | app/javascript/flavours/glitch/features/follow_recommendations/components/account.js | 2 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/follow_recommendations/index.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/follow_recommendations/components/account.js b/app/javascript/flavours/glitch/features/follow_recommendations/components/account.js index 046d03a9b..2c668da3e 100644 --- a/app/javascript/flavours/glitch/features/follow_recommendations/components/account.js +++ b/app/javascript/flavours/glitch/features/follow_recommendations/components/account.js @@ -66,7 +66,7 @@ class Account extends ImmutablePureComponent { return ( <div className='account follow-recommendations-account'> <div className='account__wrapper'> - <Permalink className='account__display-name account__display-name--with-note' title={account.get('acct')} href={account.get('url')} to={`/accounts/${account.get('id')}`}> + <Permalink className='account__display-name account__display-name--with-note' title={account.get('acct')} href={account.get('url')} to={`/@${account.get('acct')}`}> <div className='account__avatar-wrapper'><Avatar account={account} size={36} /></div> <DisplayName account={account} /> diff --git a/app/javascript/flavours/glitch/features/follow_recommendations/index.js b/app/javascript/flavours/glitch/features/follow_recommendations/index.js index fee4d8757..d050e3cc7 100644 --- a/app/javascript/flavours/glitch/features/follow_recommendations/index.js +++ b/app/javascript/flavours/glitch/features/follow_recommendations/index.js @@ -68,7 +68,7 @@ class FollowRecommendations extends ImmutablePureComponent { } })); - router.history.push('/timelines/home'); + router.history.push('/home'); } render () { |