mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
dashboard: move the geth version to the right, make commit optional
This commit is contained in:
parent
21cf32d6a8
commit
7ba7418658
2 changed files with 629 additions and 627 deletions
1255
dashboard/assets.go
1255
dashboard/assets.go
File diff suppressed because it is too large
Load diff
|
|
@ -58,7 +58,6 @@ const deepUpdate = (prev: Object, update: Object, updater: Object) => {
|
||||||
// We could return the message itself too, but it's safer not to give access to it.
|
// We could return the message itself too, but it's safer not to give access to it.
|
||||||
const shouldUpdate = (msg: Object, updater: Object) => {
|
const shouldUpdate = (msg: Object, updater: Object) => {
|
||||||
const su = {};
|
const su = {};
|
||||||
console.log(msg);
|
|
||||||
Object.keys(msg).forEach((key) => {
|
Object.keys(msg).forEach((key) => {
|
||||||
su[key] = typeof updater[key] !== 'function' ? shouldUpdate(msg[key], updater[key]) : true;
|
su[key] = typeof updater[key] !== 'function' ? shouldUpdate(msg[key], updater[key]) : true;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue