From 341ffc194bbcfafd013b91b2335a1e22aa3441ec Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 12 Nov 2025 07:17:38 -0700 Subject: [PATCH] Remove ability to right click on elements inside of face popup --- web/src/components/card/ClassificationCard.tsx | 6 +----- web/src/views/system/StorageMetrics.tsx | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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;