hovering reportee shows reportee card, not reporter's

This commit is contained in:
tassoman 2023-02-14 22:22:57 +01:00
parent 23acbc115c
commit 4a205fddc1
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Profile: make verified badge more prominent, overlapping with avatar. - Profile: make verified badge more prominent, overlapping with avatar.
### Fixed ### Fixed
- Admin: fixed hover card in reports modal shows reporter not reportee
- Chats: media attachments rendering at the wrong size and/or causing the chat to scroll on load. - Chats: media attachments rendering at the wrong size and/or causing the chat to scroll on load.
- Chats: don't display "copy" button for messages without text. - Chats: don't display "copy" button for messages without text.
- Posts: don't have to click the play button twice for embedded videos. - Posts: don't have to click the play button twice for embedded videos.

View File

@ -95,7 +95,7 @@ const Report: React.FC<IReport> = ({ id }) => {
id='admin.reports.report_title' id='admin.reports.report_title'
defaultMessage='Report on {acct}' defaultMessage='Report on {acct}'
values={{ acct: ( values={{ acct: (
<HoverRefWrapper accountId={account.id} inline> <HoverRefWrapper accountId={targetAccount.id} inline>
<Link to={`/@${acct}`} title={acct}>@{acct}</Link> <Link to={`/@${acct}`} title={acct}>@{acct}</Link>
</HoverRefWrapper> </HoverRefWrapper>
) }} ) }}