fix collect

This commit is contained in:
Brian Cao 2022-10-11 23:09:06 -07:00
parent 61df707765
commit 07d003e858
11 changed files with 41 additions and 27 deletions

View file

@ -61,7 +61,7 @@ function getDateFormat(date) {
}
function getCommaSeparatedStringFormat(data) {
return data.map(a => `'${a}'`).join(',');
return data.map(a => `'${a}'`).join(',') || '';
}
function getBetweenDates(field, start_at, end_at) {