fix: disable seg download/export buttons until a user has drawn something (#4953)

This commit is contained in:
Teo Udovčić authored and GitHub committed 2025-07-23 12:21:31 -04:00
1 parent dd2e89bfdb
commit 7ffe17deea
2 files changed
+22 -1

No files matched your search

@@ -108,6 +108,7 @@ export const CustomDropdownMenuContent = () => {
e.preventDefault();
actions.downloadCSVSegmentationReport(segmentationId);
}}
disabled={!allowExport}
>
{t('CSV Report')}
</DropdownMenuItem>