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,11 +85,13 @@ const columns = [
key: 'imei', key: 'imei',
render: properties => { render: properties => {
let imei = 'not-found'; let imei = 'not-found';
if (properties) {
for (let i = 0; i < properties.length; i++) { for (let i = 0; i < properties.length; i++) {
if (properties[i].name === 'IMEI') { if (properties[i].name === 'IMEI') {
imei = properties[i].value; imei = properties[i].value;
} }
} }
}
return imei; return imei;
}, },
// todo add filtering options // todo add filtering options

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

Loading…
Cancel
Save