add breached status to summary header

This commit is contained in:
Alex Holliday committed 2026-02-14 22:57:27 +00:00
1 parent 68db4b8701
commit 32a7bd6543
5 files changed
+31 -1

No files matched your search

@@ -139,6 +139,17 @@ export const InitializingStatusBox = ({ n }: { n: number }) => {
/>
);
};
export const BreachedStatusBox = ({ n }: { n: number }) => {
const theme = useTheme();
const { t } = useTranslation();
return (
<StatusBox
label={t("pages.common.monitors.status.breached")}
n={n}
color={theme.palette.warning.main}
/>
);
};
export const TotalChecksBox = ({ n }: { n: number }) => {
const theme = useTheme();