diff --git a/package.json b/package.json index d42e8ea..3d122a7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "@auth0/auth0-react": "1.10.2", "@emotion/react": "11.7.1", "@emotion/styled": "11.6.0", - "@kingsrook/qqq-frontend-core": "1.0.56", + "@kingsrook/qqq-frontend-core": "1.0.57", "@mui/icons-material": "5.4.1", "@mui/material": "5.11.1", "@mui/styles": "5.11.1", diff --git a/src/qqq/components/widgets/DashboardWidgets.tsx b/src/qqq/components/widgets/DashboardWidgets.tsx index 555706b..9929d40 100644 --- a/src/qqq/components/widgets/DashboardWidgets.tsx +++ b/src/qqq/components/widgets/DashboardWidgets.tsx @@ -225,6 +225,7 @@ function DashboardWidgets({widgetMetaDataList, tableName, entityPrimaryKey, omit widgetMetaData={widgetMetaData} widgetData={widgetData[i]} reloadWidgetCallback={(data) => reloadWidget(i, data)} + footerHTML={widgetData[i]?.footerHTML} isChild={areChildren} > void; isChild?: boolean; + footerHTML?: string; storeDropdownSelections?: boolean; } @@ -398,6 +400,11 @@ function Widget(props: React.PropsWithChildren): JSX.Element ) ) } + { + props?.footerHTML && ( + {parse(props.footerHTML)} + ) + } ; return props.widgetMetaData?.isCard ? {widgetContent} : widgetContent;