From 5c86f6d3f693bca1bfd66bf26de10b2e75d4fc9e Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 8 Dec 2023 07:10:01 -0700 Subject: [PATCH] Cleanup --- web-new/src/components/card/HistoryCard.tsx | 1 - web-new/src/pages/History.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/web-new/src/components/card/HistoryCard.tsx b/web-new/src/components/card/HistoryCard.tsx index 6ac420e8c..65a3c4faf 100644 --- a/web-new/src/components/card/HistoryCard.tsx +++ b/web-new/src/components/card/HistoryCard.tsx @@ -27,7 +27,6 @@ export default function HistoryCard({ allPreviews, timeline }: HistoryCardProps) camera={timeline.camera} allPreviews={allPreviews || []} startTs={Object.values(timeline.entries)[0].timestamp} - mode="thumbnail" />
diff --git a/web-new/src/pages/History.tsx b/web-new/src/pages/History.tsx index 845441cb1..25914cb56 100644 --- a/web-new/src/pages/History.tsx +++ b/web-new/src/pages/History.tsx @@ -46,8 +46,6 @@ function History() { cards[dayKey][hour] = {}; Object.values(hourlyTimeline["hours"][hour]).forEach((i) => { const time = new Date(i.timestamp * 1000); - time.setSeconds(0); - time.setMilliseconds(0); const key = `${i.camera}-${time.getMinutes()}`; // detail level for saving items