From 3e1490cafc08814557cf827f93f293b5d577b648 Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Sat, 15 Feb 2025 09:05:11 +0100 Subject: [PATCH] fix: update calibration index check in displayAmsData function --- html/rfid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/rfid.js b/html/rfid.js index fa17a49..7ba37d8 100644 --- a/html/rfid.js +++ b/html/rfid.js @@ -337,7 +337,7 @@ function displayAmsData(amsData) { ) .map(prop => { // Spezielle Behandlung für setting_id - if (prop.key === 'setting_id' && tray[prop.key] === '-1') { + if (prop.key === 'cali_idx' && tray[prop.key] === '-1') { return `

${prop.label}: not calibrated

`; } return `

${prop.label}: ${tray[prop.key]}

`;