(js) Deep copy by default in Calendar.$omit

This commit is contained in:
Francis Lachapelle committed 2018-08-31 11:39:14 -04:00
1 parent 155114c8fb
commit 2d63bd0bb4
2 files changed
+2 -1

No files matched your search

@@ -619,7 +619,7 @@
angular.forEach(this, function(value, key) {
if (key != 'constructor' &&
key[0] != '$') {
calendar[key] = value;
calendar[key] = angular.copy(value);
}
});
return calendar;