about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-11-05 21:11:35 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-06 17:29:04 +0100
commitd29172a6821ca74ab56cc272347232c1004d97cb (patch)
treec0c9456e2c5ad423ab8ced91169d3e231e71b0e8 /app
parentb6c0ef70a2c088fecd0609a96ef1a47fb6ee7ce6 (diff)
[Glitch] Fix missing interpolation of domain in disabled account banner in web UI
Port a442f481f850d857544eafdd0725142ed8656552 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/ui/components/disabled_account_banner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/components/disabled_account_banner.js b/app/javascript/flavours/glitch/features/ui/components/disabled_account_banner.js
index 9f96b5acb..c861d4d81 100644
--- a/app/javascript/flavours/glitch/features/ui/components/disabled_account_banner.js
+++ b/app/javascript/flavours/glitch/features/ui/components/disabled_account_banner.js
@@ -66,7 +66,7 @@ class DisabledAccountBanner extends React.PureComponent {
               defaultMessage='Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.'
               values={{
                 disabledAccount: disabledAccountLink,
-                movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@{domain}`}</Link>,
+                movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@${domain}`}</Link>,
               }}
             />
           ) : (