ts type and ui bug fixes
This commit is contained in:
1 parent
5db2013f65
commit
904e0bc49b
4 files changed
+16
-13
No files matched your search
@@ -43,9 +43,8 @@ export default function MonitorDetail({
|
||||
// Conditionally render monitor name with or without hyperlink based on monitor.url presence
|
||||
const monitorNameElement = (
|
||||
<Text mt="sm" fw={700} style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
{statusIcon} {monitor.name}
|
||||
{monitor.url ? (
|
||||
<a href={monitor.url} style={{ display: 'inline-flex', alignItems: 'center', color: 'inherit', textDecoration: 'none' }}>
|
||||
{monitor.statusPageLink ? (
|
||||
<a href={monitor.statusPageLink} style={{ display: 'inline-flex', alignItems: 'center', color: 'inherit', textDecoration: 'none' }}>
|
||||
{statusIcon} {monitor.name}
|
||||
</a>
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user