diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2017-01-08 19:40:51 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-01-23 05:48:03 +0100 |
commit | f12ef752e3f5fc475a1873ebcf7371b0452fce71 (patch) | |
tree | e3556bb70036189c3727dfd014b4f28fb0134b7c | |
parent | d7713f50ffce0f0c76100482579bdf06d1000a34 (diff) |
Fixed default empty group
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | js/models/contact_model.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/models/contact_model.js b/js/models/contact_model.js index 6737e5d0..1fdd2fce 100644 --- a/js/models/contact_model.js +++ b/js/models/contact_model.js @@ -320,9 +320,6 @@ angular.module('contactsApp') } } break; - - default: - break; } return property; } @@ -342,7 +339,7 @@ angular.module('contactsApp') var property = this.getProperty('categories'); if(!property) { - this.categories(''); + this.categories([]); } else { if (angular.isString(property.value)) { this.categories([property.value]); |