Notification icon hidden if none
This commit is contained in:
		
							parent
							
								
									4f9a9e063a
								
							
						
					
					
						commit
						5254f3488b
					
				
							
								
								
									
										2
									
								
								js/admin.min.js
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								js/admin.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -5,7 +5,7 @@ export default function Footer() { | |||||||
|     return ( |     return ( | ||||||
|         <footer className={"main-footer"}> |         <footer className={"main-footer"}> | ||||||
|             Theme: <strong>Copyright © 2014-2019 <a href={"http://adminlte.io"}>AdminLTE.io</a>. <b>Version</b> 3.0.3</strong>  |             Theme: <strong>Copyright © 2014-2019 <a href={"http://adminlte.io"}>AdminLTE.io</a>. <b>Version</b> 3.0.3</strong>  | ||||||
|             CMS: <strong><a href={"https://git.romanh.de/Projekte/web-base"}>WebBase</a></strong>. <b>Version</b> 1.0.1 |             CMS: <strong><a href={"https://git.romanh.de/Projekte/web-base"}>WebBase</a></strong>. <b>Version</b> 1.0.2 | ||||||
|         </footer> |         </footer> | ||||||
|     ) |     ) | ||||||
| } | } | ||||||
| @ -83,7 +83,7 @@ export default function Header(props) { | |||||||
|                 <li className={"nav-item dropdown"} onClick={() => showDropdown(!dropdownVisible)}> |                 <li className={"nav-item dropdown"} onClick={() => showDropdown(!dropdownVisible)}> | ||||||
|                     <a href={"#"} className={"nav-link"} data-toggle={"dropdown"}> |                     <a href={"#"} className={"nav-link"} data-toggle={"dropdown"}> | ||||||
|                         <Icon icon={"bell"} type={"far"} /> |                         <Icon icon={"bell"} type={"far"} /> | ||||||
|                         <span className={"badge badge-warning navbar-badge"}> |                         <span className={"badge badge-warning navbar-badge"} style={{display: (notificationCount > 0 ? "block" : "none")}}> | ||||||
|                             {notificationCount} |                             {notificationCount} | ||||||
|                         </span> |                         </span> | ||||||
|                     </a> |                     </a> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user