Skip to content

Commit

Permalink
fix(KCopy): rendering badgeLabel content when badgeLabel isn’t set
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Rudloff <[email protected]>
  • Loading branch information
Philipp Rudloff committed Dec 7, 2023
1 parent 466ba91 commit 6cebded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/KCopy/KCopy.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="k-copy">
<span
v-if="badge"
v-if="badge && badgeLabel"
class="copy-badge-text"
>
{{ badgeLabel }}
Expand Down

0 comments on commit 6cebded

Please sign in to comment.