summaryrefslogtreecommitdiffstats
path: root/meta-rcs/meta-talos/recipes-phosphor/webui/phosphor-webui/tachometer-display.patch
blob: f25c799b7df7c8d37f3d30c44926e2e3230f037f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index 4298884..e1881ff 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -1472,7 +1472,7 @@ window.angular && (function(angular) {
             }
 
             function titlelize(title) {
-              title = title.replace(/([A-Z0-9]+)/g, ' $1').replace(/^\s+/, '');
+              title = title.replace(/tach/g, ' Tachometer').replace(/([A-Z0-9]+)/g, ' $1').replace(/^\s+/, '');
               for (var i = 0; i < Constants.HARDWARE.uppercase_titles.length;
                    i++) {
                 if (title.toLowerCase().indexOf(
OpenPOWER on IntegriCloud