mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 13:22:00 +01:00
Fix missing interpolation of domain in disabled account banner in web UI (#19788)
This commit is contained in:
parent
7c65f52692
commit
a442f481f8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class DisabledAccountBanner extends React.PureComponent {
|
||||||
defaultMessage='Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.'
|
defaultMessage='Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.'
|
||||||
values={{
|
values={{
|
||||||
disabledAccount: disabledAccountLink,
|
disabledAccount: disabledAccountLink,
|
||||||
movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@{domain}`}</Link>,
|
movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@${domain}`}</Link>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in a new issue