FIX: Add href to user avatar in group cards (#12250)

This commit is contained in:
Bianca Nenciu 2021-03-02 16:54:22 +02:00 committed by GitHub
parent 11ccea5c9a
commit 6217b0b53b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -88,10 +88,5 @@ export default Component.extend(CardContentsBase, CleansUp, {
this.showGroup(group);
this._close();
},
showUser(user) {
this.showUser(user);
this._close();
},
},
});

View File

@ -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">