mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 19:34:17 +00:00
(js) Improve reset of a reccurent component
This commit is contained in:
@@ -579,7 +579,8 @@
|
||||
this.repeat.end = 'count';
|
||||
else if (this.repeat.until) {
|
||||
this.repeat.end = 'until';
|
||||
this.repeat.until = Component.$parseDate(this.repeat.until, { no_time: true });
|
||||
if (angular.isString(this.repeat.until))
|
||||
this.repeat.until = Component.$parseDate(this.repeat.until, { no_time: true });
|
||||
}
|
||||
else
|
||||
this.repeat.end = 'never';
|
||||
|
||||
Reference in New Issue
Block a user