Skip to content

Commit

Permalink
fix(BaseListItem): conditionally render end slot
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Apr 8, 2024
1 parent 7ef9be1 commit bbb4f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/base/BaseListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const hasSubtitle = computed(() => {
</BaseParagraph>
</div>

<div class="ms-auto">
<div v-if="'end' in $slots" class="ms-auto">
<slot name="end" />
</div>
</li>
Expand Down

0 comments on commit bbb4f12

Please sign in to comment.