Skip to content

Commit

Permalink
wrap happ card image with slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Paterick committed Oct 1, 2023
1 parent fde560b commit 846e052
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/HAppCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
v-if="!isEmpty"
class="happ-card__content"
>
<HAppImage
:happ="happ"
class="happ-card__desktop-image"
/>
<slot name="happ-image">
<HAppImage
:happ="happ"
class="happ-card__desktop-image"
/>
</slot>

<div class="happ-card__details">
<div class="happ-card__name">
Expand Down

0 comments on commit 846e052

Please sign in to comment.