diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/checkbox/checkbox.vue | 2 | ||||
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.js | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index 5917598a..1113f81d 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -12,8 +12,8 @@ > <i class="checkbox-indicator" /> <span - class="label" v-if="!!$slots.default" + class="label" > <slot /> </span> diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index 3ca316b9..008e1e95 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -12,11 +12,13 @@ export default Vue.component('tab-switcher', { }, onSwitch: { required: false, - type: Function + type: Function, + default: undefined }, activeTab: { required: false, - type: String + type: String, + default: undefined }, scrollableTabs: { required: false, |
