File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
packages/bootstrap-vue-3/src/components/BBreadcrumb Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 3
3
<component
4
4
:is =" computedTag"
5
5
:aria-current =" computedAriaCurrent"
6
- v-bind =" computedTag !== 'span' ? pluckedLinkProps : undefined "
6
+ v-bind =" props "
7
7
@click =" clicked"
8
8
>
9
9
<slot >
@@ -57,13 +57,8 @@ export default defineComponent({
57
57
if (! disabledBoolean .value ) emit (' click' , e )
58
58
}
59
59
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
-
65
60
return {
66
- pluckedLinkProps ,
61
+ props: computedTag . value !== ' span ' ? pluckProps ( props , linkProps ) : {} ,
67
62
liClasses ,
68
63
computedTag ,
69
64
computedAriaCurrent ,
You can’t perform that action at this time.
0 commit comments