summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-11-26 10:04:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-26 10:04:08 +0000
commit699d03754aaa972d8554de7a3a22107b4909e834 (patch)
treed51dab0fd9bc6029ec418168f0b88321b85235d2 /usecaseui-portal/src/app
parentcf3ff535762773ab21d1dbbbccb76f16333dcf46 (diff)
parentc47567bca46298b007c2c013a28ced6e2f8ff023 (diff)
Merge "Fix E2E Service Instantiation bugs"
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/services/services-list/services-list.component.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/services/services-list/services-list.component.ts b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
index f4957913..24bb45c8 100644
--- a/usecaseui-portal/src/app/services/services-list/services-list.component.ts
+++ b/usecaseui-portal/src/app/services/services-list/services-list.component.ts
@@ -202,9 +202,10 @@ export class ServicesListComponent implements OnInit {
item["status"] = "error";
}else if(item["serviceStatus"]=="processing"){
item["status"] = "processing";
+ item["rate"] = 0;
if(item["serviceDomain"]=="Network Service"){
let updata = (prodata)=>{
- item["rate"] = prodata.progress;
+ item["rate"] = prodata.progress || item["rate"];
// >100 err
if(item["rate"] > 100){
item["status"]=prodata.status;
@@ -218,7 +219,7 @@ export class ServicesListComponent implements OnInit {
})
}else{
let updata = (prodata)=>{
- item["rate"] = prodata.progress;
+ item["rate"] = prodata.progress || item["rate"];
if(item["rate"] > 100){
item["status"]=prodata.status;
}