commit | 59d3137ab5cb750ef1026219c48b5fa670d843b5 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Sat Feb 02 20:07:00 2019 +0000 |
committer | Sean Condon <sean.condon@microsemi.com> | Sat Feb 02 20:39:13 2019 +0000 |
tree | 6be90b85db4880bbf4c7499e91d360761c39d5d0 | |
parent | 175c33e2b2d74e9a2a74f0d9bf8c2bdab7ffe158 [diff] [blame] |
GUI2 Added in support for custom glyphs Change-Id: If082b6e5727c278022ed3a72035878098e031611
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html index 884d9ce..747b1bb 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html +++ b/web/gui2/src/main/webapp/app/view/topology/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html
@@ -84,6 +84,6 @@ [@deviceLabelToggleTxt]="labelToggle"> {{ labelToggle == 0 ? '': labelToggle == 1 ? device.id:device.props.name }} </svg:text> - <svg:use [attr.xlink:href]="'#m_' + device.type" width="36" height="36" x="-18" y="-18"> + <svg:use [attr.xlink:href]="'#' + deviceIcon()" width="36" height="36" x="-18" y="-18"> </svg:use> </svg:g> \ No newline at end of file