mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
CE-798 Disable if totalRecords is null too
This commit is contained in:
@ -45,7 +45,7 @@ export default function ExportMenuItem(props: QExportMenuItemProps)
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
disabled={totalRecords === 0}
|
disabled={!totalRecords}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
{
|
{
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user