Show version info in settings
This commit is contained in:
parent
5d896ae439
commit
fbbcf6457e
8 changed files with 275 additions and 174 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue