components

This commit is contained in:
Alex Holliday committed 2026-01-23 12:33:40 -08:00
1 parent 363d89e4f4
commit 69018a4944
10 files changed
+244 -7

No files matched your search

@@ -140,8 +140,8 @@ export const MonitorBasePageWithStates = ({
<EmptyMonitorFallback
page={page}
title={t(`pages.${page}.fallback.title`)}
bullets={t(`monitors.${page}.fallback.checks`, { returnObjects: true })}
actionButtonText={t(`monitors.${page}.fallback.actionButton`)}
bullets={t(`pages.${page}.fallback.checks`, { returnObjects: true })}
actionButtonText={t(`pages.${page}.fallback.actionButton`)}
actionLink={actionLink || ""}
/>
);
@@ -165,6 +165,15 @@ export const EmptyMonitorFallback = ({
/>
))}
</Stack>
<Stack>
<Button
variant="contained"
color="primary"
onClick={() => navigate(actionLink)}
>
{actionButtonText}
</Button>
</Stack>
</Stack>
</BaseFallback>
);