diff --git a/embark-ui/src/containers/ProcessesContainer.js b/embark-ui/src/containers/ProcessesContainer.js index abb0da9b0..b9aa428b5 100644 --- a/embark-ui/src/containers/ProcessesContainer.js +++ b/embark-ui/src/containers/ProcessesContainer.js @@ -1,6 +1,7 @@ import React, {Component} from 'react'; import {connect} from 'react-redux'; import {fetchProcesses} from '../actions'; +import {Tabs, Tab} from 'tabler-react'; import PropTypes from 'prop-types'; class ProcessesContainer extends Component { @@ -26,8 +27,13 @@ class ProcessesContainer extends Component { ); } + const processNames = Object.keys(processes.data); return ( -

Loaded

+ + {processNames.map(processName => { + return (State: {processes.data[processName].state}); + })} + ); } } diff --git a/lib/core/processes/processManager.js b/lib/core/processes/processManager.js index 5e558131e..7cfee6394 100644 --- a/lib/core/processes/processManager.js +++ b/lib/core/processes/processManager.js @@ -20,7 +20,7 @@ class ProcessManager { let parsedProcesses = {}; Object.keys(self.processes).forEach(processName => { parsedProcesses[processName] = { - state: self.processes[processName] + state: self.processes[processName].state }; }); res.send(parsedProcesses);