From 0a46d6128c337240f694458198123baead698ea3 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Wed, 11 May 2016 09:50:44 +0200 Subject: [PATCH] Fixes node-position layout caching. Key was not being generated correctly. --- client/app/scripts/charts/nodes-chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/charts/nodes-chart.js b/client/app/scripts/charts/nodes-chart.js index 59ed21351..3e957a4f5 100644 --- a/client/app/scripts/charts/nodes-chart.js +++ b/client/app/scripts/charts/nodes-chart.js @@ -403,7 +403,7 @@ function mapStateToProps(state) { forceRelayout: state.get('forceRelayout'), nodes: state.get('nodes').filter(node => !node.get('filtered')), selectedNodeId: state.get('selectedNodeId'), - topologyId: state.get('topologyId'), + topologyId: state.get('currentTopologyId'), topologyOptions: getActiveTopologyOptions(state) }; }