Change routing paths to use usernames in web UI (#16171)

This commit is contained in:
Eugen Rochko
2021-09-26 05:46:13 +02:00
committed by GitHub
parent 9c92907681
commit 52e5c07948
45 changed files with 500 additions and 233 deletions

View File

@ -30,7 +30,7 @@ class AccountAuthorize extends ImmutablePureComponent {
return (
<div className='account-authorize__wrapper'>
<div className='account-authorize'>
<Permalink href={account.get('url')} to={`/accounts/${account.get('id')}`} className='detailed-status__display-name'>
<Permalink href={account.get('url')} to={`/@${account.get('acct')}`} className='detailed-status__display-name'>
<div className='account-authorize__avatar'><Avatar account={account} size={48} /></div>
<DisplayName account={account} />
</Permalink>