hovering reportee shows reportee card, not reporter's

environments/review-i-1329-2-bdcfxi/deployments/2643
tassoman 2023-02-14 22:22:57 +01:00
rodzic 23acbc115c
commit 4a205fddc1
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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.
### 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: don't display "copy" button for messages without text.
- Posts: don't have to click the play button twice for embedded videos.

Wyświetl plik

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