Minor memory fix in details tab.

This commit is contained in:
Ylian Saint-Hilaire 2021-08-17 11:37:02 -07:00
parent d6aa6521c3
commit acc612396b
2 changed files with 2 additions and 2 deletions

View File

@ -5524,7 +5524,7 @@
}
if (hardware.windows) {
if (hardware.windows.memory) {
if (hardware.windows.memory && (hardware.windows.memory.length > 0)) {
var x = '';
// Sort Memory
hardware.windows.memory.sort(function (a, b) { if (a.BankLabel > b.BankLabel) return 1; if (a.BankLabel < b.BankLabel) return -1; return 0; });

View File

@ -10233,7 +10233,7 @@
}
if (hardware.windows) {
if (hardware.windows.memory) {
if (hardware.windows.memory && (hardware.windows.memory.length > 0)) {
var x = '';
// Sort Memory
hardware.windows.memory.sort(function(a, b) { if (a.BankLabel > b.BankLabel) return 1; if (a.BankLabel < b.BankLabel) return -1; return 0; });