Merge pull request #2827 from ClearlyClaire/glitch-soc/fixes/report-old-notifications-target

Fix target account link in old report notifications
shrike
Claire 2024-08-27 19:09:20 +02:00 committed by GitHub
commit 51311f97fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class Notification extends ImmutablePureComponent {
<bdi>
<Permalink
className='notification__display-name'
href={account.get('url')}
href={targetAccount.get('url')}
title={targetAccount.get('acct')}
to={`/@${targetAccount.get('acct')}`}
dangerouslySetInnerHTML={targetDisplayNameHtml}