Skip to content

Commit

Permalink
Merge pull request #7 from vinayakkulkarni/master
Browse files Browse the repository at this point in the history
fix: bug caused by $scopedSlots not being available
  • Loading branch information
sansil authored Mar 3, 2021
2 parents 4db2b97 + 7873a72 commit e0e6dec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/VTNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ export default {
},
},
[
this.$scopedSlots.default({
notifications: this.sortedNotifications,
close: this.close,
}),
Object.prototype.hasOwnProperty.call(this.$scopedSlots, 'default') ? this.$scopedSlots.default({ notifications: this.sortedNotifications, close: this.close }) : null,
]
);
},
Expand Down

0 comments on commit e0e6dec

Please sign in to comment.