diff --git a/src/qqq/pages/dashboards/Widgets/TableCard.tsx b/src/qqq/pages/dashboards/Widgets/TableCard.tsx index b892ca6..6792e7f 100644 --- a/src/qqq/pages/dashboards/Widgets/TableCard.tsx +++ b/src/qqq/pages/dashboards/Widgets/TableCard.tsx @@ -19,7 +19,7 @@ * along with this program. If not, see . */ -import {Icon} from "@mui/material"; +import {Icon, Skeleton} from "@mui/material"; import Card from "@mui/material/Card"; import Grid from "@mui/material/Grid"; import Menu from "@mui/material/Menu"; @@ -152,7 +152,7 @@ function TableCard({title, linkText, linkURL, noRowsFoundHTML, data, dropdownOpt { - data && data.rows ? ( + data && data.rows && data.rows.length > 0 ? ( - ) - : + ) : data && data.rows && data.rows.length == 0 ? ( + ) : ( + + + + + + + + ) }