1
0
Fork 0
mirror of synced 2024-07-14 10:45:51 +12:00

null date string was breaking download for certain ranges

This commit is contained in:
Peter Clement 2023-02-27 15:03:25 +00:00
parent 7f35961e77
commit cb3d0c39bd

View file

@ -298,13 +298,13 @@
on:change={e => {
if (e.detail[0]?.length === 1) {
startDate = e.detail[0][0].toISOString()
endDate = null
endDate = ""
} else if (e.detail[0]?.length > 1) {
startDate = e.detail[0][0].toISOString()
endDate = e.detail[0][1].toISOString()
} else {
startDate = null
endDate = null
startDate = ""
endDate = ""
}
}}
/>