Remove ability to right click on elements inside of face popup

This commit is contained in:
Nicolas Mowen 2025-11-12 07:17:38 -07:00
parent 29a464f2b5
commit 341ffc194b
2 changed files with 2 additions and 6 deletions

View File

@ -398,11 +398,7 @@ export function GroupedClassificationCard({
threshold={threshold} threshold={threshold}
selected={false} selected={false}
i18nLibrary={i18nLibrary} i18nLibrary={i18nLibrary}
onClick={(data, meta) => { onClick={() => {}}
if (meta || selectedItems.length > 0) {
onClick(data);
}
}}
> >
{children?.(data)} {children?.(data)}
</ClassificationCard> </ClassificationCard>

View File

@ -70,7 +70,7 @@ export default function StorageMetrics({
]); ]);
const earliestDate = useMemo(() => { const earliestDate = useMemo(() => {
const keys = Object.keys(recordingsSummary || {}).sort(); const keys = Object.keys(recordingsSummary || {});
return keys.length return keys.length
? new TZDate(keys[0] + "T00:00:00", timezone).getTime() / 1000 ? new TZDate(keys[0] + "T00:00:00", timezone).getTime() / 1000
: null; : null;