fix: disable seg download/export buttons until a user has drawn something (#4953)
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user