From 70953710a82664ae87a98e1f201f91359ff6ff4d Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 2 Jan 2017 14:19:37 -0500 Subject: [PATCH] Help: show Web UI version --- js/page/help.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/js/page/help.js b/js/page/help.js index 75eca13ee..9a492113f 100644 --- a/js/page/help.js +++ b/js/page/help.js @@ -27,7 +27,7 @@ var HelpPage = React.createClass({ document.title = "Help"; }, render: function() { - let ver, osName, platform, newVerLink; + let ver, osName, platform, newVerLink, uiVersion; if (this.state.versionInfo) { ver = this.state.versionInfo; @@ -43,6 +43,12 @@ var HelpPage = React.createClass({ platform = `Windows (${ver.platform})`; newVerLink = 'https://lbry.io/get/lbry.msi'; } + + if (ver.ui_version == 'user-specified') { + uiVersion = '(User specified)'; + } else { + uiVersion = ver.ui_version || '(Unknown)'; + } } else { ver = null; } @@ -86,6 +92,10 @@ var HelpPage = React.createClass({ lbryum (wallet) {ver.lbryum_version} + + lbry-web-ui (interface) + {uiVersion} + Platform {platform}