fixed CARNETSTATUS and Carnet_Count
This commit is contained in:
parent
a012287e19
commit
bf59d29b96
@ -557,10 +557,15 @@ export class UserMaintenanceService {
|
||||
existing.CARNETSTATUS.push(curr.CARNETSTATUS);
|
||||
existing.Carnet_Count.push(curr.CARNET_COUNT);
|
||||
} else {
|
||||
const newItem = {
|
||||
CARNETSTATUS: [curr.CARNETSTATUS],
|
||||
Carnet_Count: [curr.CARNET_COUNT],
|
||||
};
|
||||
const newItem = { };
|
||||
if (curr.CARNETSTATUS == null){
|
||||
newItem['CARNETSTATUS'] = [];
|
||||
newItem['Carnet_Count'] = [];
|
||||
}
|
||||
else{
|
||||
newItem['CARNETSTATUS'] = [curr.CARNETSTATUS];
|
||||
newItem['Carnet_Count'] = [curr.CARNET_COUNT];
|
||||
}
|
||||
|
||||
if (curr.SERVICE_PROVIDER_NAME && curr.SPID) {
|
||||
newItem['Service_Provider_Name'] = curr.SERVICE_PROVIDER_NAME;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user