Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update OrganizationTooltip.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
CodexAdrian committed Oct 20, 2023
1 parent 01f942a commit 6624949
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/components/base/OrganizationTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ const props = defineProps({
</div>
<div class="members">
<div class="icons">
<Avatar
<RouterLink
v-for="member in [...props.members].splice(0, 5)"
:key="member.username"
v-tooltip="member.username"
:src="member.icon_url"
circle
/>
:to="`/user/${member.username}`"
class="button-base avatar"
>
<Avatar v-tooltip="member.username" :src="member.icon_url" circle />
</RouterLink>
<div v-if="members.length > 5" class="avatar overflow">+{{ members.length - 5 }}</div>
</div>
</div>
Expand Down

0 comments on commit 6624949

Please sign in to comment.