Skip to content

Commit

Permalink
fix(VSpeedDial): add check for componentOptions existing on slot (#6905)
Browse files Browse the repository at this point in the history
Fixes #6901
  • Loading branch information
ricardovanlaarhoven authored and Dmitry Sharshakov committed Apr 13, 2019
1 parent 189cbd2 commit 58a8725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VSpeedDial/VSpeedDial.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
if (this.isActive) {
let btnCount = 0
children = (this.$slots.default || []).map((b, i) => {
if (b.tag && b.componentOptions.Ctor.options.name === 'v-btn') {
if (b.tag && typeof b.componentOptions !== 'undefined' && b.componentOptions.Ctor.options.name === 'v-btn') {
btnCount++
return h('div', {
style: {
Expand Down

0 comments on commit 58a8725

Please sign in to comment.