aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-03-12 11:05:45 +0200
committerIttay Stern <ittay.stern@att.com>2019-03-17 17:15:23 +0200
commitd45c5c75ae99f40403fcd24530a5604dd0e9c6a0 (patch)
tree97135ddf6f822d372ba70fcc27502c7d12e29624 /vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js
parent37ad0cc1d36ec6ff68ec39fcaaf2617eef7d08fe (diff)
Remove vendor from CloudOwner
cloud-owner identifies the vendor and cloud name. First part of composite key is formatted as vendor-cloudname. VID will *display* only CLOUDNAME. Issue-ID: VID-396 Change-Id: I9dd9b2b15d96067023034b5776787c51c3b5eda4 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js
index efb9ebefd..6163184c2 100644
--- a/vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/deleteResumeService.js
@@ -424,7 +424,7 @@ var DeleteResumeService = function($log, AaiService, AsdcService, DataService,
}
var optionName = featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST) && cloudRegionTenantList[i].cloudOwner ?
- cloudRegionTenantList[i].cloudRegionId + " (" + cloudRegionTenantList[i].cloudOwner.trim().toLowerCase().replace(/^att-/, "").toUpperCase() + ")" :
+ cloudRegionTenantList[i].cloudRegionId + " (" + AaiService.removeVendorFromCloudOwner(cloudRegionTenantList[i].cloudOwner).toUpperCase() + ")" :
cloudRegionTenantList[i].cloudRegionId;
parameter.optionList.push({