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 <[email protected]> Authored: Tue Nov 20 09:34:16 2018 -0500 Committer: Ernest Allen <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
