Skip to content

Commit d7c7068

Browse files
author
Nathan Reyes
committed
Redress issue introduced by v0.7.3
1 parent 507c85a commit d7c7068

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.7.4
2+
## Bug Fixes
3+
* Redress issue introduced by v0.7.3."
4+
15
# v0.7.3
26
## Bug Fixes
37
* Fix scoped slot usage in `v-date-picker` render function. Closes #83.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v-calendar",
3-
"version": "0.7.3",
3+
"version": "0.7.4",
44
"description": "A clean and extendable plugin for building simple attributed calendars in Vue.js.",
55
"keywords": [
66
"vue",

src/components/DatePicker.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default {
4343
},
4444
);
4545
if (this.isInline) return getPickerComponent();
46+
console.log(this.$scopedSlots);
4647
return h('popover', {
4748
attrs: {
4849
isExpanded: this.popoverExpanded,
@@ -58,10 +59,10 @@ export default {
5859
'update:forceHidden': val => this.popoverForceHidden = val,
5960
},
6061
}, [
61-
this.$scopedSlots.default({
62+
(isFunction(this.$scopedSlots.default) && this.$scopedSlots.default({
6263
inputValue: this.inputValue,
6364
updateValue: this.updateValue,
64-
}) || [
65+
})) || [
6566
h('input', {
6667
ref: 'input',
6768
class: this.inputProps_.class,

0 commit comments

Comments
 (0)