Fixed blank entry detection logic

This commit is contained in:
2026-04-16 10:20:13 -05:00
parent 0c8f99de78
commit 7b67722ca4

View File

@@ -116,8 +116,10 @@ function checkAPI() {
let items = []; let items = [];
for (let j = 0; j < data.length; j++) { for (let j = 0; j < data.length; j++) {
if (data[j] != undefined || data[j] != null) { if (data[j] != undefined && data[j] != null) {
items.push(SERVICE_FUNC[s](data[j])); items.push(SERVICE_FUNC[s](data[j]));
} else {
data.splice(j);
} }
} }