Skip to content

Commit

Permalink
Merge pull request #21 from dreglad/master
Browse files Browse the repository at this point in the history
Calendar component's 'eventArray' prop default value as a factory function
  • Loading branch information
sirbeagle committed May 24, 2018
2 parents 2ea4384 + 21ae6d7 commit 50cc4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
},
eventArray: {
type: Array,
default: []
default: () => []
},
eventRef: {
type: String,
Expand Down

0 comments on commit 50cc4e5

Please sign in to comment.