Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1592)

Unified Diff: app/views/topology/relation.js

Issue 13771047: Use Fakebackend API to perform deployer imports
Patch Set: Use Fakebackend API to perform deployer imports Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/templates/service-relations-list.handlebars ('k') | test/data/large-improv.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/views/topology/relation.js
=== modified file 'app/views/topology/relation.js'
--- app/views/topology/relation.js 2013-09-11 21:17:51 +0000
+++ app/views/topology/relation.js 2013-09-19 20:11:53 +0000
@@ -230,9 +230,6 @@
var decoratedRelation = views.DecoratedRelation(
relation, source, target);
// Copy the relation type to the box.
- if (decoratedRelation.display_name === undefined) {
- decoratedRelation.display_name = pair[0][0];
- }
decorated.push(decoratedRelation);
}
});
@@ -896,10 +893,7 @@
type: result['interface'],
endpoints: endpoints,
pending: false,
- scope: result.scope,
- // Using either the relation name for endpoint A (this one) or
- // the one for endpoint B (endpoints[1][1].name) is arbitrary.
- display_name: endpoints[0][1].name
+ scope: result.scope
});
}
topo.update();
« no previous file with comments | « app/templates/service-relations-list.handlebars ('k') | test/data/large-improv.json » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b