diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-12-14 01:41:13 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2021-02-16 03:33:32 +0100 |
commit | dd512c140bee24446d1ddab901d04b51a72a2d86 (patch) | |
tree | c1e2d1beb1058ccc395d65fe586929b4de8add55 /app/javascript/mastodon/features/compose/components/navigation_bar.js | |
parent | 9c273c2a59755a46ff3933470b02df857537a4af (diff) | |
download | mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar.gz mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar.bz2 mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.zip |
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/navigation_bar.js')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/navigation_bar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/components/navigation_bar.js b/app/javascript/mastodon/features/compose/components/navigation_bar.js index 840d0a3da..e6ba7d8b7 100644 --- a/app/javascript/mastodon/features/compose/components/navigation_bar.js +++ b/app/javascript/mastodon/features/compose/components/navigation_bar.js @@ -19,13 +19,13 @@ export default class NavigationBar extends ImmutablePureComponent { render () { return ( <div className='navigation-bar'> - <Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> + <Permalink href={this.props.account.get('url')} to={`/@${this.props.account.get('acct')}`}> <span style={{ display: 'none' }}>{this.props.account.get('acct')}</span> <Avatar account={this.props.account} size={48} /> </Permalink> <div className='navigation-bar__profile'> - <Permalink href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> + <Permalink href={this.props.account.get('url')} to={`/@${this.props.account.get('acct')}`}> <strong className='navigation-bar__profile-account'>@{this.props.account.get('acct')}</strong> </Permalink> |