Fix APPM store app crash on app installation product-iots#325

feature/appm-store/pbac
Jayasanka Weerasinghe 5 years ago
parent 6ad69ca702
commit a6883c55bb

@ -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