From 6217b0b53b709a53b4f729cc849efdc348cbc43a Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Tue, 2 Mar 2021 16:54:22 +0200 Subject: [PATCH] FIX: Add href to user avatar in group cards (#12250) --- .../discourse/app/components/group-card-contents.js | 5 ----- .../app/templates/components/group-card-contents.hbs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/group-card-contents.js b/app/assets/javascripts/discourse/app/components/group-card-contents.js index f9b0ef1f190..cff33fd628f 100644 --- a/app/assets/javascripts/discourse/app/components/group-card-contents.js +++ b/app/assets/javascripts/discourse/app/components/group-card-contents.js @@ -88,10 +88,5 @@ export default Component.extend(CardContentsBase, CleansUp, { this.showGroup(group); this._close(); }, - - showUser(user) { - this.showUser(user); - this._close(); - }, }, }); diff --git a/app/assets/javascripts/discourse/app/templates/components/group-card-contents.hbs b/app/assets/javascripts/discourse/app/templates/components/group-card-contents.hbs index 8638d6d7e4a..42d032eb68a 100644 --- a/app/assets/javascripts/discourse/app/templates/components/group-card-contents.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/group-card-contents.hbs @@ -55,7 +55,7 @@