diff options
Diffstat (limited to 'usecaseui-portal/src')
-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; } |