add logging, use external link

This commit is contained in:
lyc8503 committed 2024-03-18 17:01:58 +08:00
1 parent 904e0bc49b
commit 8102258e3b
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ export default function MonitorDetail({
const monitorNameElement = (
<Text mt="sm" fw={700} style={{ display: 'inline-flex', alignItems: 'center' }}>
{monitor.statusPageLink ? (
<a href={monitor.statusPageLink} style={{ display: 'inline-flex', alignItems: 'center', color: 'inherit', textDecoration: 'none' }}>
<a href={monitor.statusPageLink} target="_blank" style={{ display: 'inline-flex', alignItems: 'center', color: 'inherit', textDecoration: 'none' }}>
{statusIcon} {monitor.name}
</a>
) : (