Null date_next at end of reports
This commit is contained in:
parent
e63e7100f0
commit
d08f76ec99
@ -505,10 +505,8 @@
|
||||
resultsets[i] = await loaders[i](this.client, alpha);
|
||||
if(resultsets[i].next) next.push(resultsets[i].next);
|
||||
}
|
||||
if(next.length > 0) {
|
||||
this.date_next = strptime_vista(Math.floor(Math.max(...next)));
|
||||
this.date_next = next.length > 0 ? strptime_vista(Math.floor(Math.max(...next))) : null;
|
||||
if(!alpha) this.date_begin = this.date_next;
|
||||
}
|
||||
} else {
|
||||
this.dfn = null;
|
||||
this.loaders = {};
|
||||
|
Loading…
Reference in New Issue
Block a user