Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

fix dates

Rory Clear4f86af911b05
diff --git a/mainview.html b/mainview.html
index 21bbde5..e2f4ace 100644
--- a/mainview.html
+++ b/mainview.html
@@ -2111,16 +2111,7 @@
dropdown.appendChild(option);
});
- const today = new Date().toISOString().split('T')[0];
- if (dates.includes(today)) {
- if (isEventFilter) {
- dropdown.value = today;
- currentEventDateFilter = today;
- } else {
- dropdown.value = today;
- currentStreamDate = today;
- }
- } else if (dates.length > 0) {
+ if (dates.length > 0) {
if (isEventFilter) {
dropdown.value = dates[0];
currentEventDateFilter = dates[0];