download three dot update

This commit is contained in:
Nate Kelley 2025-09-23 13:31:18 -06:00
parent 5708592a51
commit a2c8d68258
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,7 @@ export const useDownloadMetricDataCSV = ({
{ id: metricId, versionNumber: metricVersionNumber, cacheDataId },
{ enabled: false }
);
const { mutateAsync: handleDownload, isPending: isDownloading } = useDownloadMetricFile();
return useMemo(
() => ({

View File

@ -383,7 +383,7 @@ const DropdownItem = <
const renderContent = () => {
const content = (
<>
{icon && !loading && <span className="text-icon-color text-lg">{icon}</span>}
{icon && <span className="text-icon-color text-lg">{icon}</span>}
<div className={cn('flex flex-col space-y-1', truncate && 'overflow-hidden')}>
<span className={cn(truncate && 'truncate')}>{label}</span>
{secondaryLabel && <span className="text-gray-light text-xs">{secondaryLabel}</span>}