alsmanager_lib 3.0.149 → 3.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/modules.js +16 -7
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -3645,13 +3645,22 @@ function createDeviceSelectObj(search_type, inv_code, dev_type, marca, dev_model
|
|
|
3645
3645
|
|
|
3646
3646
|
function createDetailsObj(os, version, storage, addon, network, mac_address, name) {
|
|
3647
3647
|
var objDetails = {};
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3648
|
+
// Init
|
|
3649
|
+
|
|
3650
|
+
if (os)
|
|
3651
|
+
objDetails.os = os;
|
|
3652
|
+
if (version)
|
|
3653
|
+
objDetails.version = version;
|
|
3654
|
+
if (storage)
|
|
3655
|
+
objDetails.storage = storage;
|
|
3656
|
+
if (addon)
|
|
3657
|
+
objDetails.addon = addon;
|
|
3658
|
+
if (network)
|
|
3659
|
+
objDetails.network = network;
|
|
3660
|
+
if (mac_address)
|
|
3661
|
+
objDetails.mac_address = mac_address;
|
|
3662
|
+
if (name)
|
|
3663
|
+
objDetails.name = name;
|
|
3655
3664
|
|
|
3656
3665
|
return objDetails;
|
|
3657
3666
|
}
|