diff --git a/client/app/scripts/actions/app-actions.js b/client/app/scripts/actions/app-actions.js
index 436d9efe3..6a28ac297 100644
--- a/client/app/scripts/actions/app-actions.js
+++ b/client/app/scripts/actions/app-actions.js
@@ -159,7 +159,10 @@ export function hitEsc() {
type: ActionTypes.CLICK_CLOSE_TERMINAL,
pipeId: controlPipe.id
});
+ // Dont deselect node on ESC if there is a controlPipe (keep terminal open)
} else if (AppStore.getSelectedNodeId() && !controlPipe) {
+ AppDispatcher.dispatch({type: ActionTypes.DESELECT_NODE});
+ }
updateRoute();
}
diff --git a/client/app/scripts/components/app.js b/client/app/scripts/components/app.js
index 8259325b1..fbad26b07 100644
--- a/client/app/scripts/components/app.js
+++ b/client/app/scripts/components/app.js
@@ -81,7 +81,7 @@ export default class App extends React.Component {
{showingDebugToolbar() && }
{showingDetails && }
{showingTerminal &&
{details.map((obj, index) => {
return (
-
+
);
})}
diff --git a/client/app/scripts/components/node-details.js b/client/app/scripts/components/node-details.js
index a90c33766..1e96f284c 100644
--- a/client/app/scripts/components/node-details.js
+++ b/client/app/scripts/components/node-details.js
@@ -130,7 +130,7 @@ export default class NodeDetails extends React.Component {
const showSummary = details.metadata !== undefined || details.metrics !== undefined;
const showControls = details.controls && details.controls.length > 0;
const nodeColor = getNodeColorDark(details.rank, details.label_major);
- const {error, pending} = (this.props.controlStatus || {});
+ const {error, pending} = (this.props.nodeControlStatus || {});
const tools = this.renderTools();
const styles = {
controls: {