]> cat aescling's git repositories - mastodon.git/commitdiff
Fix clicking on account name in “[xxx] boosted” text leading to broken path
authorClaire <claire.github-309c@sitedethib.com>
Thu, 30 Sep 2021 09:47:58 +0000 (11:47 +0200)
committerClaire <claire.github-309c@sitedethib.com>
Thu, 30 Sep 2021 10:31:08 +0000 (12:31 +0200)
app/javascript/flavours/glitch/components/status_prepend.js

index 5f8d70c9ab0ff2a8c0dd5d00a2f1586eb793b469..5a00f232e0194c51303e49655b6d965f833206d8 100644 (file)
@@ -17,7 +17,7 @@ export default class StatusPrepend extends React.PureComponent {
 
   handleClick = (e) => {
     const { account, parseClick } = this.props;
-    parseClick(e, `/${account.get('acct')}`);
+    parseClick(e, `/@${account.get('acct')}`);
   }
 
   Message = () => {