diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx index 4511c22d5..0e1138feb 100644 --- a/web/src/components/card/ClassificationCard.tsx +++ b/web/src/components/card/ClassificationCard.tsx @@ -398,11 +398,7 @@ export function GroupedClassificationCard({ threshold={threshold} selected={false} i18nLibrary={i18nLibrary} - onClick={(data, meta) => { - if (meta || selectedItems.length > 0) { - onClick(data); - } - }} + onClick={() => {}} > {children?.(data)} diff --git a/web/src/views/system/StorageMetrics.tsx b/web/src/views/system/StorageMetrics.tsx index e99b5bf54..2c222d6c3 100644 --- a/web/src/views/system/StorageMetrics.tsx +++ b/web/src/views/system/StorageMetrics.tsx @@ -70,7 +70,7 @@ export default function StorageMetrics({ ]); const earliestDate = useMemo(() => { - const keys = Object.keys(recordingsSummary || {}).sort(); + const keys = Object.keys(recordingsSummary || {}); return keys.length ? new TZDate(keys[0] + "T00:00:00", timezone).getTime() / 1000 : null;