Fix status icon (#6039)

* Fix status icon when zooming out.

* Fix health errors.
This commit is contained in:
Tomasz Drwięga 2017-07-12 08:52:50 +02:00 committed by Gav Wood
parent 0fca4f95d6
commit 24c8510932
2 changed files with 4 additions and 0 deletions

View File

@ -209,6 +209,9 @@ export default class Status {
const status = { netPeers, syncing, health }; const status = { netPeers, syncing, health };
health.overall = this._overallStatus(health); health.overall = this._overallStatus(health);
health.peers = health.peers || {};
health.sync = health.sync || {};
health.time = health.time || {};
if (!isEqual(status, this._status)) { if (!isEqual(status, this._status)) {
this._store.dispatch(statusCollection(status)); this._store.dispatch(statusCollection(status));

View File

@ -23,6 +23,7 @@
margin: .2em; margin: .2em;
width: 1em; width: 1em;
height: 1em; height: 1em;
white-space: nowrap;
} }
.radial { .radial {