mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-01-22 05:43:23 +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>
|
||||
)}
|
||||
<a href={monitor.url} target="_blank">
|
||||
<div className="text-xl">{monitor.name}</div>
|
||||
</a>
|
||||
{(monitor.linkable === true || monitor.linkable === undefined) ?
|
||||
(
|
||||
<a href={monitor.url} target="_blank">
|
||||
<div className="text-xl">{monitor.name}</div>
|
||||
</a>
|
||||
)
|
||||
:
|
||||
(
|
||||
<span>
|
||||
<div className="text-xl">{monitor.name}</div>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
</div>
|
||||
<MonitorStatusLabel kvMonitor={data} />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user