mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 10:08:12 +00:00
(js) Improve reset of a reccurent component
This commit is contained in:
1 parent
57a4286cd5
commit
21dd03eb81
1 file changed
+2
-1
@@ -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