changeset 198:90e9e14c8a29

Fix bug where jvm-memory multicharts service names are malformed Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/024990.html
author Andrew Azores <aazores@redhat.com>
date Wed, 13 Sep 2017 10:17:03 -0400
parents ed977dff0ba2
children 0767a8183508
files src/app/components/jvm-info/jvm-memory/jvm-memory.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/app/components/jvm-info/jvm-memory/jvm-memory.html	Tue Sep 12 14:23:58 2017 -0400
+++ b/src/app/components/jvm-info/jvm-memory/jvm-memory.html	Wed Sep 13 10:17:03 2017 -0400
@@ -44,7 +44,7 @@
             <div ng-repeat="space in generation.spaces">
               <div class="card-pf-body text-center">
                 <label translate="jvmMemory.SPACE" translate-values="{ index: space.index }"></label>
-                <mc-add class="pull-right" svc-name="{{$ctrl.jvmId}}-{{sanitize(generation.name)}}-space{{space.index}}"
+                <mc-add class="pull-right" svc-name="{{$ctrl.jvmId}}-{{$ctrl.sanitize(generation.name)}}-space{{space.index}}"
                                            get-fn="$ctrl.multichartSpace(index, space.index)"></mc-add>
                 <pf-donut-pct-chart id="gen-{{gen.index}}-space-{{space.index}}"
                   config="$ctrl.spaceConfigs['gen-' + generation.index + '-space-' + space.index]" data="space"></pf-donut-pct-chart>