mirror of
				https://github.com/tormachris/cf-workers-status-page.git
				synced 2025-11-04 12:56:24 +01:00 
			
		
		
		
	Merge pull request #1 from GregBrimble/patch-1
Hide description icon if no description present
This commit is contained in:
		@@ -96,9 +96,11 @@ export default function Index({
 | 
				
			|||||||
                style={{ marginBottom: '8px' }}
 | 
					                style={{ marginBottom: '8px' }}
 | 
				
			||||||
              >
 | 
					              >
 | 
				
			||||||
                <div className="ui marginless header">
 | 
					                <div className="ui marginless header">
 | 
				
			||||||
 | 
					                  {monitor.description && (
 | 
				
			||||||
                    <span data-tooltip={monitor.description}>
 | 
					                    <span data-tooltip={monitor.description}>
 | 
				
			||||||
                      <i className="blue small info circle icon" />
 | 
					                      <i className="blue small info circle icon" />
 | 
				
			||||||
                    </span>
 | 
					                    </span>
 | 
				
			||||||
 | 
					                  )}
 | 
				
			||||||
                  <div className="content">{monitor.name}</div>
 | 
					                  <div className="content">{monitor.name}</div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                <MonitorStatusLabel
 | 
					                <MonitorStatusLabel
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user