mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 01:53:45 +08:00
FIX: Add href to user avatar in group cards (#12250)
This commit is contained in:
parent
11ccea5c9a
commit
6217b0b53b
|
@ -88,10 +88,5 @@ export default Component.extend(CardContentsBase, CleansUp, {
|
|||
this.showGroup(group);
|
||||
this._close();
|
||||
},
|
||||
|
||||
showUser(user) {
|
||||
this.showUser(user);
|
||||
this._close();
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<div class="card-row third-row">
|
||||
<div class="members metadata">
|
||||
{{#each group.members as |user|}}
|
||||
<a href {{action "showUser" user}} class="card-tiny-avatar">{{bound-avatar user "tiny"}}</a>
|
||||
<a {{action "close"}} href={{user.path}} class="card-tiny-avatar">{{bound-avatar user "tiny"}}</a>
|
||||
{{/each}}
|
||||
{{#if showMoreMembers}}
|
||||
<a href={{groupPath}} {{action "showGroup" group}} class="more-members-link">
|
||||
|
|
Loading…
Reference in New Issue
Block a user