1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2025-07-04 19:12:48 +02:00

Merge pull request #1 from GregBrimble/patch-1

Hide description icon if no description present
This commit is contained in:
Adam Janiš
2020-11-14 15:12:06 +01:00
committed by GitHub

View File

@ -96,9 +96,11 @@ export default function Index({
style={{ marginBottom: '8px' }}
>
<div className="ui marginless header">
{monitor.description && (
<span data-tooltip={monitor.description}>
<i className="blue small info circle icon" />
</span>
)}
<div className="content">{monitor.name}</div>
</div>
<MonitorStatusLabel