mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-03 08:05:33 +00:00
(js) Prevent the creation of empty card categories
This commit is contained in:
1 parent
888adc9396
commit
f34937d92c
4 files changed
+11
-2
No files matched your search
@@ -108,6 +108,8 @@
|
||||
|
||||
if (angular.isUndefined(data.SOGoContactsCategories))
|
||||
data.SOGoContactsCategories = [];
|
||||
else
|
||||
data.SOGoContactsCategories = _.compact(data.SOGoContactsCategories);
|
||||
|
||||
angular.extend(_this.defaults, data);
|
||||
|
||||
|
||||
Reference in new issue
Block a user