mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-01-22 13:53:25 +01:00
Update monitorCard.js
This commit is contained in:
parent
fa9d865cc1
commit
23673587c2
@ -30,9 +30,20 @@ export default function MonitorCard({ key, monitor, data }) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{(monitor.linkable === true || monitor.linkable === undefined) ?
|
||||||
|
(
|
||||||
<a href={monitor.url} target="_blank">
|
<a href={monitor.url} target="_blank">
|
||||||
<div className="text-xl">{monitor.name}</div>
|
<div className="text-xl">{monitor.name}</div>
|
||||||
</a>
|
</a>
|
||||||
|
)
|
||||||
|
:
|
||||||
|
(
|
||||||
|
<span>
|
||||||
|
<div className="text-xl">{monitor.name}</div>
|
||||||
|
</span>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<MonitorStatusLabel kvMonitor={data} />
|
<MonitorStatusLabel kvMonitor={data} />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user