type: vimAccountData.vim_type,
operationalState: vimAccountData._admin.operationalState,
description: vimAccountData.description,
- instancesData: this.nsData
+ instancesData: this.nsData,
+ resources: vimAccountData.resources !== undefined ? vimAccountData.resources : null
};
}
if (this.getLocation !== []) {
this.getLocation.filter((loc: GetLocation) => {
if (loc.location !== '') {
- const getLatLong: string[] = loc.location.split(',');
- this.lng = +getLatLong[CONSTANTNUMBER.splitLongitude];
- this.lat = +getLatLong[CONSTANTNUMBER.splitLatitude];
- this.addMarker(getLatLong[0], loc.id, loc.name);
+ if (loc.location !== ',,') {
+ const getLatLong: string[] = loc.location.split(',');
+ this.lng = +getLatLong[CONSTANTNUMBER.splitLongitude];
+ this.lat = +getLatLong[CONSTANTNUMBER.splitLatitude];
+ this.addMarker(getLatLong[0], loc.id, loc.name);
+ }
}
});
}