Renamed vbng in vrouter in customer care portal
diff --git a/views/ngXosViews/diagnostic/src/js/rest_services.js b/views/ngXosViews/diagnostic/src/js/rest_services.js
index 91242b3..8f3992f 100644
--- a/views/ngXosViews/diagnostic/src/js/rest_services.js
+++ b/views/ngXosViews/diagnostic/src/js/rest_services.js
@@ -303,6 +303,10 @@
rootService.service_specific_attribute = findSpecificInformation(tenants, rootService.id);
+ if(rootService.humanReadableName === 'service_vbng'){
+ rootService.humanReadableName = 'service_vrouter'
+ }
+
const tree = {
name: rootService.humanReadableName,
parent: parentName,
@@ -358,6 +362,10 @@
// TODO refactor
const buildChild = (services, tenants, currentService) => {
+ if(currentService.humanReadableName === 'service_vbng'){
+ currentService.humanReadableName = 'service_vrouter'
+ }
+
const response = {
type: 'service',
name: currentService.humanReadableName,
diff --git a/xos/core/xoslib/static/js/xosDiagnostic.js b/xos/core/xoslib/static/js/xosDiagnostic.js
index 7c581e1..73cc41a 100644
--- a/xos/core/xoslib/static/js/xosDiagnostic.js
+++ b/xos/core/xoslib/static/js/xosDiagnostic.js
@@ -620,6 +620,10 @@
rootService.service_specific_attribute = findSpecificInformation(tenants, rootService.id);
+ if (rootService.humanReadableName === 'service_vbng') {
+ rootService.humanReadableName = 'service_vrouter';
+ }
+
var tree = {
name: rootService.humanReadableName,
parent: parentName,
@@ -675,6 +679,10 @@
// TODO refactor
var buildChild = function buildChild(services, tenants, currentService) {
+ if (currentService.humanReadableName === 'service_vbng') {
+ currentService.humanReadableName = 'service_vrouter';
+ }
+
var response = {
type: 'service',
name: currentService.humanReadableName,