fix query comparison

This commit is contained in:
2023-09-14 08:35:01 +10:00
parent aeb7595166
commit 63572a2740

View File

@@ -150,7 +150,7 @@ const handleLoad = async () => {
if (
(!filterDateRange.value || filterDateRange.value.length === 0) &&
query["filter"].length == 0
(!query["filter"] || query["filter"].length === 0)
) {
const now = new Date();
const startingDate = new Date(now.setDate(now.getDate() - 8));