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

Fix target account link in old report notifications
This commit is contained in:
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

View file

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