From b7c77b7ce9aa6b6c3a87831bbace0f2ad560da3a Mon Sep 17 00:00:00 2001 From: Jody Clements Date: Tue, 1 Sep 2015 08:34:00 -0400 Subject: [PATCH] Adds console version to the admin page. Showing the version of the console in the admin page makes it easier to debug issues with the console. Fixes #10 --- js/components/ServerStats.react.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/components/ServerStats.react.js b/js/components/ServerStats.react.js index 884b348..24d1d9d 100644 --- a/js/components/ServerStats.react.js +++ b/js/components/ServerStats.react.js @@ -4,6 +4,7 @@ import ServerActions from '../actions/ServerActions'; import ServerStore from '../stores/ServerStore'; import AltContainer from 'alt/AltContainer'; import {Glyphicon} from 'react-bootstrap'; +import pjson from '../../package.json'; class StatsDisplay extends React.Component { @@ -89,6 +90,14 @@ class StatsDisplay extends React.Component { +
+
+
Console Version
+
+

v{pjson.version}

+
+
+
); }