Skip to content

Commit

Permalink
Ensure item.data is always present (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
davestewart authored Feb 15, 2021
1 parent ec256ad commit 4103602
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ const Component = {
},
addItem (event) {
event.group = event.group || ''
event.data = event.data || {}
if (this.group !== event.group) {
return
Expand Down

0 comments on commit 4103602

Please sign in to comment.