Skip to content

Commit 649a82a

Browse files
authored
Merge pull request #717 from VividLemon/master
fix: dts build error on breadcrumbitem
2 parents c4247c5 + 8ee6b8e commit 649a82a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/bootstrap-vue-3/src/components/BBreadcrumb/BBreadcrumbItem.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<component
44
:is="computedTag"
55
:aria-current="computedAriaCurrent"
6-
v-bind="computedTag !== 'span' ? pluckedLinkProps : undefined"
6+
v-bind="props"
77
@click="clicked"
88
>
99
<slot>
@@ -57,13 +57,8 @@ export default defineComponent({
5757
if (!disabledBoolean.value) emit('click', e)
5858
}
5959
60-
// TODO test and make sure that only the correct props are given to BLINK
61-
// Since the BLink resolved to an <a>, passing "text" prop down caused
62-
// <a> slot text to be overwritten by prop text!
63-
const pluckedLinkProps = computed(() => pluckProps(props, linkProps))
64-
6560
return {
66-
pluckedLinkProps,
61+
props: computedTag.value !== 'span' ? pluckProps(props, linkProps) : {},
6762
liClasses,
6863
computedTag,
6964
computedAriaCurrent,

0 commit comments

Comments
 (0)