(fix #157) we now honor which calendars we can write to

This commit is contained in:
Ludovic Marcotte committed 2015-12-10 11:11:22 -05:00
1 parent 95ca7d0193
commit 156463c084
4 files changed
+106 -87

No files matched your search

@@ -149,7 +149,7 @@
function ComponentEditorController($rootScope, $scope, $log, $timeout, $mdDialog, User, Calendar, Component, AddressBook, Card, Alarm, stateComponent) {
var vm = this, component, oldStartDate, oldEndDate, oldDueDate;
vm.calendars = Calendar.$calendars;
vm.service = Calendar;
vm.component = stateComponent;
vm.categories = {};
vm.showRecurrenceEditor = vm.component.$hasCustomRepeat;