mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
(fix) correctly initialize the PreventInvitationsWhitelist array
This commit is contained in:
1 parent
ebf4c1a9c7
commit
966a088a0f
1 file changed
+2
@@ -46,6 +46,8 @@
|
||||
data.Calendar.PreventInvitationsWhitelist = _.map(data.Calendar.PreventInvitationsWhitelist, function(value, key) {
|
||||
return new Preferences.$User({uid: key, shortFormat: value});
|
||||
});
|
||||
else
|
||||
data.Calendar.PreventInvitationsWhitelist = [];
|
||||
|
||||
angular.extend(_this.settings, data);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user