diff options
author | 2018-11-26 10:04:08 +0000 | |
---|---|---|
committer | 2018-11-26 10:04:08 +0000 | |
commit | 699d03754aaa972d8554de7a3a22107b4909e834 (patch) | |
tree | d51dab0fd9bc6029ec418168f0b88321b85235d2 /usecaseui-portal/src/app | |
parent | cf3ff535762773ab21d1dbbbccb76f16333dcf46 (diff) | |
parent | c47567bca46298b007c2c013a28ced6e2f8ff023 (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.ts | 5 |
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; } |