mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 21:34:41 +00:00
Merge pull request #891 from Hexastack/fix/empty-file-when-no-dataset-is-selected
fix: empty file when no dataset is selected
This commit is contained in:
commit
b2115d141f
@ -392,6 +392,7 @@ export default function NlpSample() {
|
||||
`nlpsample/export${type ? `?type=${type}` : ""}`,
|
||||
)}
|
||||
startIcon={<DownloadIcon />}
|
||||
disabled={dataGridProps?.rows?.length === 0}
|
||||
>
|
||||
{t("button.export")}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user