Merge branch 'fix/appm-store/device-install' into 'master'

Fix APPM store app crash on app installation

Closes product-iots#325

See merge request entgra/carbon-device-mgt!442
4.x.x
Dharmakeerthi Lasantha 5 years ago
commit c4e4713c7b

@ -85,9 +85,11 @@ const columns = [
key: 'imei',
render: properties => {
let imei = 'not-found';
for (let i = 0; i < properties.length; i++) {
if (properties[i].name === 'IMEI') {
imei = properties[i].value;
if (properties) {
for (let i = 0; i < properties.length; i++) {
if (properties[i].name === 'IMEI') {
imei = properties[i].value;
}
}
}
return imei;

@ -85,9 +85,11 @@ const columns = [
key: 'imei',
render: properties => {
let imei = 'not-found';
for (let i = 0; i < properties.length; i++) {
if (properties[i].name === 'IMEI') {
imei = properties[i].value;
if (properties) {
for (let i = 0; i < properties.length; i++) {
if (properties[i].name === 'IMEI') {
imei = properties[i].value;
}
}
}
return imei;

Loading…
Cancel
Save