Skip to content

Commit

Permalink
Merge pull request #276 from ValdoGhafoor/patch-1
Browse files Browse the repository at this point in the history
Fix "$slots.default is not a function"
  • Loading branch information
spinn authored Jun 16, 2023
2 parents 3f3bf11 + b0da074 commit a8f30b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FlowForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
descriptionLink: LinkOption
}
const defaultSlot = this.$slots.default()
const defaultSlot = this.$slots.default && this.$slots.default()
let children = null
if (defaultSlot && defaultSlot.length) {
Expand Down

0 comments on commit a8f30b8

Please sign in to comment.