Fix status icon (#6039)
* Fix status icon when zooming out. * Fix health errors.
This commit is contained in:
parent
0fca4f95d6
commit
24c8510932
@ -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));
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
margin: .2em;
|
margin: .2em;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radial {
|
.radial {
|
||||||
|
Loading…
Reference in New Issue
Block a user