mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 09:29:43 +00:00
(fix) also handle tasks deletion correctly
This commit is contained in:
@@ -277,7 +277,10 @@
|
||||
Calendar.$$resource.post(c_folder, 'batchDelete', {uids: uids});
|
||||
});
|
||||
|
||||
// We slice both arrays - might be useful if in the future, we can delete
|
||||
// events and tasks at the same time.
|
||||
_this.$Component.$events = _.difference(_this.$Component.$events, components);
|
||||
_this.$Component.$tasks = _.difference(_this.$Component.$tasks, components);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user