Changed publicUrl to constant uptime type and changed "Public link" text

This commit is contained in:
Nicholas Liu committed 2025-05-05 10:23:02 -07:00
1 parent cb113f642a
commit f31669b341
2 files changed
+2 -5

No files matched your search

@@ -88,10 +88,7 @@ const ControlsHeader = ({
}) => { }) => {
const theme = useTheme(); const theme = useTheme();
const { t } = useTranslation(); const { t } = useTranslation();
const publicUrl = const publicUrl = `/status/uptime/public/${url}`;
type === "uptime"
? `/status/uptime/public/${url}`
: `/status/distributed/public/${url}`;
return ( return (
<Stack <Stack
+1 -1
View File
@@ -411,5 +411,5 @@
"noFileSelected": "No file selected", "noFileSelected": "No file selected",
"fallbackPage": "Import a file to upload a list of servers in bulk" "fallbackPage": "Import a file to upload a list of servers in bulk"
}, },
"publicLink": "Public Link" "publicLink": "Public link"
} }