fix mac memory part number

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-03-25 13:41:42 +00:00
parent fbae83dd9f
commit 81e98033fc

View File

@ -623,7 +623,7 @@ function macos_identifiers()
var key = parts[0].trim();
var value = 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);