You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2018/11/20 14:34:28 UTC

qpid-dispatch git commit: DISPATCH-1168 Fix popup info being stale after adding new edge router or client

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 9b44162b8 -> 386587e10


DISPATCH-1168 Fix popup info being stale after adding new edge router or client


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/386587e1
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/386587e1
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/386587e1

Branch: refs/heads/master
Commit: 386587e10bfa74c48a57f91c0ef1387d09f66ffc
Parents: 9b44162
Author: Ernest Allen <ea...@redhat.com>
Authored: Tue Nov 20 09:34:16 2018 -0500
Committer: Ernest Allen <ea...@redhat.com>
Committed: Tue Nov 20 09:34:16 2018 -0500

----------------------------------------------------------------------
 console/stand-alone/plugin/js/topology/nodes.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/386587e1/console/stand-alone/plugin/js/topology/nodes.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/topology/nodes.js b/console/stand-alone/plugin/js/topology/nodes.js
index 411f942..66afd88 100644
--- a/console/stand-alone/plugin/js/topology/nodes.js
+++ b/console/stand-alone/plugin/js/topology/nodes.js
@@ -135,7 +135,9 @@ export class Node {
     return nodeProperties[this.nodeType].radius;
   }
   uid(srv) {
-    return this.uuid ? this.uuid : srv.utilities.nameFromId(this.key);
+    if (!this.uuid)
+      this.uuid = srv.utilities.nameFromId(this.key);
+    return this.normals ? `${this.uuid}-${this.normals.length}` : this.uuid;
   }
 }
 const nodeProperties = {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org