Skip to content

Commit

Permalink
fix(VerticalNavigation): add v-if on label
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 28, 2022
1 parent 09033bb commit 79d8e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/navigation/VerticalNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/>
</slot>
<slot :link="link">
<span class="truncate">{{ link.label }}</span>
<span v-if="link.label" class="truncate">{{ link.label }}</span>
</slot>
<slot name="badge" :link="link">
<span v-if="link.badge" :class="[badgeBaseClass, isActive ? badgeActiveClass : badgeInactiveClass]">
Expand Down

1 comment on commit 79d8e08

@vercel
Copy link

@vercel vercel bot commented on 79d8e08 Jan 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.