dashboard: gitCommit renamed to commit

This commit is contained in:
Kurkó Mihály 2018-01-11 23:40:57 +02:00
parent 1eb961a179
commit 21cf32d6a8

View file

@ -26828,7 +26828,7 @@ var _bundleJs = []byte((((((((((`!function(modules) {
}), updated; }), updated;
}, shouldUpdate = function shouldUpdate(msg, updater) { }, shouldUpdate = function shouldUpdate(msg, updater) {
var su = {}; 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[key] = "function" == typeof updater[key] || shouldUpdate(msg[key], updater[key]);
}), su; }), su;
}, appender = function(limit) { }, appender = function(limit) {
@ -26840,7 +26840,7 @@ var _bundleJs = []byte((((((((((`!function(modules) {
}, defaultContent = { }, defaultContent = {
general: { general: {
version: "-", version: "-",
gitCommit: "-" commit: "-"
}, },
home: { home: {
memory: [], memory: [],
@ -26856,7 +26856,7 @@ var _bundleJs = []byte((((((((((`!function(modules) {
}, updaters = { }, updaters = {
general: { general: {
version: replacer, version: replacer,
gitCommit: replacer commit: replacer
}, },
home: { home: {
memory: appender(200), memory: appender(200),
@ -26895,7 +26895,7 @@ var _bundleJs = []byte((((((((((`!function(modules) {
}, server.onmessage = function(event) { }, server.onmessage = function(event) {
var msg = JSON.parse(event.data); var msg = JSON.parse(event.data);
if (!msg) return void console.error("Incoming message is " + msg); if (!msg) return void console.error("Incoming message is " + msg);
console.log(msg), _this.update(msg); _this.update(msg);
}, server.onclose = function() { }, server.onclose = function() {
setTimeout(_this.reconnect, 3e3); setTimeout(_this.reconnect, 3e3);
}; };
@ -38194,7 +38194,7 @@ var _bundleJs = []byte((((((((((`!function(modules) {
type: "title", type: "title",
color: "inherit", color: "inherit",
className: classes.mainText className: classes.mainText
}, this.props.general.gitCommit))); }, this.props.general.commit)));
} }
} ]), Footer; } ]), Footer;
}(_react.Component); }(_react.Component);