Skip to content

Commit

Permalink
updated text for alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 24, 2025
1 parent bcdf9f5 commit 31601b9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/tenant/standards/bpa-report/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
SvgIcon,
Skeleton,
Chip,
Alert,
} from "@mui/material";
import Head from "next/head";
import { ArrowLeftIcon } from "@mui/x-date-pickers";
Expand Down Expand Up @@ -182,9 +183,11 @@ const Page = () => {
}
>
{block.data === undefined ? (
<Typography variant="h6" color="textPrimary">
No data has been found for this report.
</Typography>
<Alert severity="info">
No data has been found for this item. This tenant might not be licensed
for this feature, or data collection failed. Please check the logs for
more information.
</Alert>
) : block.formatter === "String" ? (
<Typography variant="h6" color="textPrimary">
{block.data}
Expand Down

0 comments on commit 31601b9

Please sign in to comment.