Hide badge if core is not running

This commit is contained in:
Ildar Kamalov 2018-10-11 11:08:07 +03:00
parent 3a74dfdfa4
commit 383f1c2fb3
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Header extends Component {
<Link to="/" className="nav-link pl-0 pr-1">
<img src={logo} alt="" className="header-brand-img" />
</Link>
{!dashboard.proccessing &&
{!dashboard.proccessing && dashboard.isCoreRunning &&
<span className={badgeClass}>
{dashboard.protectionEnabled ? 'ON' : 'OFF'}
</span>