Skip to content

Commit

Permalink
Fix Pods number in graph not updating (minor label)
Browse files Browse the repository at this point in the history
Fixes #2401.
  • Loading branch information
rndstr committed Jul 19, 2017
1 parent 4f1d02f commit d2c341c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/scripts/charts/nodes-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function cloneLayout(layout, nodes, edges) {
function copyLayoutProperties(layout, nodeCache, edgeCache) {
const result = Object.assign({}, layout);
result.nodes = layout.nodes.map(node => (nodeCache.has(node.get('id'))
? node.merge(nodeCache.get(node.get('id'))) : node));
? nodeCache.get(node.get('id')).merge(node) : node));
result.edges = layout.edges.map((edge) => {
if (edgeCache.has(edge.get('id'))
&& hasSameEndpoints(edgeCache.get(edge.get('id')), result.nodes)) {
Expand Down

0 comments on commit d2c341c

Please sign in to comment.