CE-798 Disable if totalRecords is null too

This commit is contained in:
2024-02-09 15:39:00 -06:00
parent 3f3b188a9d
commit 7a32d20acb

View File

@ -45,7 +45,7 @@ export default function ExportMenuItem(props: QExportMenuItemProps)
return ( return (
<MenuItem <MenuItem
disabled={totalRecords === 0} disabled={!totalRecords}
onClick={() => onClick={() =>
{ {
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////