handle delete

This commit is contained in:
Alex Holliday committed 2026-02-03 21:14:16 +00:00
1 parent 40e5550e0f
commit a80df60fc1
9 files changed
+47 -25

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ const StatusPageView = () => {
const { url } = useParams();
const isAdmin = useIsAdmin();
const location = useLocation();
const isPublic = location.pathname.startsWith("/status/uptime/public");
const isPublic = location.pathname.startsWith("/status/public");
const apiUrl = url ? `/status-page/${url}?type=uptime` : null;
@@ -47,7 +47,7 @@ const StatusPageView = () => {
{t("pages.statusPages.details.empty.title")}
</Typography>
{isAdmin && (
<Link to={`/status/uptime/configure/${url}`}>
<Link to={`/status/configure/${url}`}>
{t("pages.statusPages.details.empty.addMonitor")}
</Link>
)}