Fixes node-position layout caching.

Key was not being generated correctly.
This commit is contained in:
Simon Howe
2016-05-11 09:50:44 +02:00
committed by David Kaltschmidt
parent af3f18b933
commit 0a46d6128c

View File

@@ -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)
};
}