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(); |