From dcb621d7e6674f4e155918563dd3c43dc39d7c65 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Fri, 29 Jan 2016 13:14:47 +0100 Subject: [PATCH] Close terminal when we click "show node in its topology" --- client/app/scripts/stores/app-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/app/scripts/stores/app-store.js b/client/app/scripts/stores/app-store.js index 5f79042b9..58c261b66 100644 --- a/client/app/scripts/stores/app-store.js +++ b/client/app/scripts/stores/app-store.js @@ -362,6 +362,7 @@ export class AppStore extends Store { case ActionTypes.CLICK_SHOW_TOPOLOGY_FOR_NODE: nodeDetails = nodeDetails.filter((v, k) => k === payload.nodeId); + controlPipes = controlPipes.clear(); selectedNodeId = payload.nodeId; if (payload.topologyId !== currentTopologyId) { setTopology(payload.topologyId);