mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-25 12:29:12 -05:00
fix mac memory part number
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
fbae83dd9f
commit
81e98033fc
@ -623,7 +623,7 @@ function macos_identifiers()
|
|||||||
var key = parts[0].trim();
|
var key = parts[0].trim();
|
||||||
var value = parts[1].trim();
|
var value = parts[1].trim();
|
||||||
value = (key == 'Part Number' || key == 'Manufacturer') ? hexToAscii(parts[1].trim()) : parts[1].trim();
|
value = (key == 'Part Number' || key == 'Manufacturer') ? hexToAscii(parts[1].trim()) : parts[1].trim();
|
||||||
slotObj[key] = value; // Store attribute in the slot object
|
slotObj[key.replace(' ','')] = value; // Store attribute in the slot object
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
memorySlots.push(slotObj);
|
memorySlots.push(slotObj);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user