diff --git a/cmd/cmd_controller.js b/cmd/cmd_controller.js index 2d4e21e8..4fb60ae8 100644 --- a/cmd/cmd_controller.js +++ b/cmd/cmd_controller.js @@ -14,7 +14,7 @@ class EmbarkController { // set a default context. should be overwritten by an action // method before being used - this.context = [constants.contexts.any]; + this.context = {}; } initConfig(env, options) { diff --git a/embark-ui/src/reducers/selectors.js b/embark-ui/src/reducers/selectors.js index 3c170e56..00986cd1 100644 --- a/embark-ui/src/reducers/selectors.js +++ b/embark-ui/src/reducers/selectors.js @@ -53,7 +53,6 @@ export function getProcesses(state) { } export function getProcessLogs(state) { - if(!state.entities.processLogs.length) return []; const processLogsObj = state.entities.processLogs.reduce((processLogs, processLog) => { const existingProcessLog = processLogs[processLog.process]; if(!existingProcessLog || processLog.timestamp > existingProcessLog.timestamp){