about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/follow_recommendations/components/account.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-09-27 07:24:04 +0200
committerGitHub <noreply@github.com>2021-09-27 07:24:04 +0200
commit6b19e1e632491117bb1d3458fff31cd353b761b7 (patch)
treed6edb85a7777cd46b0d1018c7fafa5674c067248 /app/javascript/mastodon/features/follow_recommendations/components/account.js
parent11502ae46e4813bc23aeb5d03093a01d53991ab8 (diff)
Fix incorrect use of old WebUI paths (#16773)
* Fix incorrect use of old WebUI paths

PR #16171 renamed some routes but missed some occurrences.
Without #16772, this leads to unreachable routes in those cases.

* Fix floating action button being displayed on statuses and compose screen
Diffstat (limited to 'app/javascript/mastodon/features/follow_recommendations/components/account.js')
-rw-r--r--app/javascript/mastodon/features/follow_recommendations/components/account.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/follow_recommendations/components/account.js b/app/javascript/mastodon/features/follow_recommendations/components/account.js
index bd855aab0..ffc0ab00c 100644
--- a/app/javascript/mastodon/features/follow_recommendations/components/account.js
+++ b/app/javascript/mastodon/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} />