Show version info in settings

This commit is contained in:
Ken-Håvard Lieng 2018-11-22 12:00:18 +01:00
parent 5d896ae439
commit fbbcf6457e
8 changed files with 275 additions and 174 deletions

View file

@ -11,7 +11,12 @@ import { replace } from 'utils/router';
function loadState({ store }, env) {
store.dispatch(setConnectDefaults(env.defaults));
store.dispatch(appSet('hexIP', env.hexIP));
store.dispatch(
appSet({
hexIP: env.hexIP,
version: env.version
})
);
store.dispatch(setSettings(env.settings, true));
if (env.servers) {