diff --git a/src/models/contact.js b/src/models/contact.js index e07fef70e..d23f8a2f9 100644 --- a/src/models/contact.js +++ b/src/models/contact.js @@ -261,6 +261,7 @@ export default class Contact { const groupsProp = this.vCard.getFirstProperty('categories') if (groupsProp) { return groupsProp.getValues() + .filter(group => typeof group === 'string') .filter(group => group.trim() !== '') } return []