commit | 64ea7d25e22e22a4956bf36ef470656c6169f93f | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Fri Apr 12 19:39:13 2019 +0100 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Apr 12 20:54:54 2019 +0000 |
tree | 718f5ce8565dd92526257ecc7eff6e29f3d9ebd3 | |
parent | 229471bcc153bd38f93ca903a251550101384aed [diff] [blame] |
GUI2 Bug fixes to Topo view Change-Id: Ib40279fec94ffecb1d6c771aa376ad1cded03c02
diff --git a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts index 9853889..85ef536 100644 --- a/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts +++ b/web/gui2-topo-lib/projects/gui2-topo-lib/src/lib/layer/forcesvg/visuals/linksvg/linksvg.component.ts
@@ -71,11 +71,14 @@ this.highlighted = hl.css; this.label = hl.label; this.isHighlighted = true; - setTimeout(() => { - this.isHighlighted = false; - this.highlighted = ''; - this.ref.markForCheck(); - }, 4990); + this.log.debug('Link hightlighted', hl); + if (hl.fadems > 0) { + setTimeout(() => { + this.isHighlighted = false; + this.highlighted = ''; + this.ref.markForCheck(); + }, hl.fadems); + } }