We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 981a07a commit ea2d422Copy full SHA for ea2d422
lib/components/nav-item.vue
@@ -1,6 +1,6 @@
1
<template>
2
<li class="nav-item" @click="onclick">
3
- <b-link :is="itemType" :class="classObject" :to="to" :href="href" :exact="exact">
+ <b-link :class="classObject" :to="to" :href="href" :exact="exact">
4
<slot></slot>
5
</b-link>
6
</li>
@@ -12,9 +12,6 @@
12
export default {
13
components: {bLink},
14
computed: {
15
- itemType() {
16
- return (this.href || this.to) ? 'b-link' : 'button';
17
- },
18
classObject() {
19
return [
20
'nav-link',
0 commit comments