Skip to content

Commit

Permalink
Acesso de entidadas ao clicar o avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
gabi-gandine committed Aug 14, 2024
1 parent 026b206 commit 217697b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/modules/Components/components/entity-card/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
<div class="entity-card" :class="classes">
<div class="entity-card__header" :class="{'with-labels': useLabels, 'without-labels': !useLabels}">
<div class="entity-card__header user-details">
<slot name="avatar">
<mc-avatar :entity="entity" size="small"></mc-avatar>
</slot>
<a :href="entity.singleUrl">
<slot name="avatar">
<mc-avatar :entity="entity" size="small"></mc-avatar>
</slot>
</a>
<div class="user-info" :class="{'with-labels': useLabels, 'without-labels': !useLabels}">
<a :href="entity.singleUrl">
<slot name="title">
Expand Down

0 comments on commit 217697b

Please sign in to comment.