Revert to previous check for disabling export-menu items - that is - totalRecords === 0, instead of !totalRecords. makes tables w/o count allowed to do exports again.

This commit is contained in:
2024-02-22 12:16:27 -06:00
parent 948aee70fd
commit 37eb280d79

View File

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