mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fix for EMM-1673
This commit is contained in:
parent
72522ad759
commit
0c70c87406
@ -118,13 +118,18 @@ deviceModule = function () {
|
|||||||
if (properties["DEVICE_INFO"]) {
|
if (properties["DEVICE_INFO"]) {
|
||||||
var initialDeviceInfoList = parse(properties["DEVICE_INFO"]);
|
var initialDeviceInfoList = parse(properties["DEVICE_INFO"]);
|
||||||
var initialDeviceInfo = {};
|
var initialDeviceInfo = {};
|
||||||
for (var j = 0; j < initialDeviceInfoList.length; j++) {
|
if (Array.isArray(initialDeviceInfoList) {
|
||||||
if (initialDeviceInfoList[j]["value"]) {
|
for (var j = 0; j < initialDeviceInfoList.length; j++) {
|
||||||
initialDeviceInfo[initialDeviceInfoList[j]["name"]] =
|
if (initialDeviceInfoList[j]["value"]) {
|
||||||
initialDeviceInfoList[j]["value"];
|
initialDeviceInfo[initialDeviceInfoList[j]["name"]] =
|
||||||
|
initialDeviceInfoList[j]["value"];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
initialDeviceInfo = initialDeviceInfoList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"] = initialDeviceInfo;
|
filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"] = initialDeviceInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user