From 21cf32d6a81caaa3626e99477c6338c60d2522ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Thu, 11 Jan 2018 23:40:57 +0200 Subject: [PATCH] dashboard: gitCommit renamed to commit --- dashboard/assets.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard/assets.go b/dashboard/assets.go index b2a173107b..dd7450e338 100644 --- a/dashboard/assets.go +++ b/dashboard/assets.go @@ -26828,7 +26828,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { }), updated; }, shouldUpdate = function shouldUpdate(msg, updater) { var su = {}; - return Object.keys(msg).forEach(function(key) { + return console.log(msg), Object.keys(msg).forEach(function(key) { su[key] = "function" == typeof updater[key] || shouldUpdate(msg[key], updater[key]); }), su; }, appender = function(limit) { @@ -26840,7 +26840,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { }, defaultContent = { general: { version: "-", - gitCommit: "-" + commit: "-" }, home: { memory: [], @@ -26856,7 +26856,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { }, updaters = { general: { version: replacer, - gitCommit: replacer + commit: replacer }, home: { memory: appender(200), @@ -26895,7 +26895,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { }, server.onmessage = function(event) { var msg = JSON.parse(event.data); if (!msg) return void console.error("Incoming message is " + msg); - console.log(msg), _this.update(msg); + _this.update(msg); }, server.onclose = function() { setTimeout(_this.reconnect, 3e3); }; @@ -38194,7 +38194,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { type: "title", color: "inherit", className: classes.mainText - }, this.props.general.gitCommit))); + }, this.props.general.commit))); } } ]), Footer; }(_react.Component);