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);
|
resultsets[i] = await loaders[i](this.client, alpha);
|
||||||
if(resultsets[i].next) next.push(resultsets[i].next);
|
if(resultsets[i].next) next.push(resultsets[i].next);
|
||||||
}
|
}
|
||||||
if(next.length > 0) {
|
this.date_next = next.length > 0 ? strptime_vista(Math.floor(Math.max(...next))) : null;
|
||||||
this.date_next = strptime_vista(Math.floor(Math.max(...next)));
|
|
||||||
if(!alpha) this.date_begin = this.date_next;
|
if(!alpha) this.date_begin = this.date_next;
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this.dfn = null;
|
this.dfn = null;
|
||||||
this.loaders = {};
|
this.loaders = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user