(fix) new calendar category now showing color too
This commit is contained in:
parent
8074e67b84
commit
affa6ba656
|
@ -78,9 +78,8 @@
|
|||
$scope.preferences = statePreferences;
|
||||
|
||||
$scope.addCalendarCategory = function() {
|
||||
var color = {"New category": "#aaa"};
|
||||
$scope.preferences.defaults.SOGoCalendarCategoriesColors["New category"] = "#aaa";
|
||||
$scope.preferences.defaults.SOGoCalendarCategories.push("New category");
|
||||
$scope.preferences.defaults.SOGoCalendarCategoriesColors.push(color);
|
||||
}
|
||||
|
||||
$scope.removeCalendarCategory = function(index) {
|
||||
|
|
Loading…
Reference in a new issue