From 29458c436c8320baddd7c8c82704d525920e17d5 Mon Sep 17 00:00:00 2001 From: Kelv Date: Fri, 1 Mar 2024 11:14:57 +0800 Subject: [PATCH] FIX: return missing href attribute for topic map participants avatars (#25981) --- .../discourse/app/components/topic-map/topic-participant.gjs | 2 +- .../tests/integration/components/topic-participant-test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/topic-map/topic-participant.gjs b/app/assets/javascripts/discourse/app/components/topic-map/topic-participant.gjs index 2d9de5debb3..6b1581efac5 100644 --- a/app/assets/javascripts/discourse/app/components/topic-map/topic-participant.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-map/topic-participant.gjs @@ -48,7 +48,7 @@ export default class TopicParticipant extends Component { } get userUrl() { - userPath(this.args.participant); + return userPath(this.args.participant.username); }