diff --git a/src/store/contacts.js b/src/store/contacts.js index 1a1c6d153..e520d1602 100644 --- a/src/store/contacts.js +++ b/src/store/contacts.js @@ -44,6 +44,7 @@ const mutations = { appendContacts(state, contacts = []) { state.contacts = contacts.reduce(function(list, contact) { if (contact instanceof Contact) { + validate(contact) Vue.set(list, contact.key, contact) } else { console.error('Wrong contact object', contact)