Merge: - client: fix blinking header badge

Closes #1275

* commit '7ef2a6601133ef4fa21d786f0c958d8bc781995d':
  - client: fix blinking header badge
This commit is contained in:
Ildar Kamalov 2020-01-16 11:16:41 +03:00
commit 9b0096dd9d
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -190,7 +190,6 @@ const dashboard = handleActions(
processing: true, processing: true,
isCoreRunning: true, isCoreRunning: true,
processingVersion: true, processingVersion: true,
processingFiltering: true,
processingClients: true, processingClients: true,
processingUpdate: false, processingUpdate: false,
processingDnsSettings: true, processingDnsSettings: true,