fix: update calibration index check in displayAmsData function
This commit is contained in:
parent
dc82c04a17
commit
3e1490cafc
@ -337,7 +337,7 @@ function displayAmsData(amsData) {
|
|||||||
)
|
)
|
||||||
.map(prop => {
|
.map(prop => {
|
||||||
// Spezielle Behandlung für setting_id
|
// 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 `<p>${prop.label}: not calibrated</p>`;
|
return `<p>${prop.label}: not calibrated</p>`;
|
||||||
}
|
}
|
||||||
return `<p>${prop.label}: ${tray[prop.key]}</p>`;
|
return `<p>${prop.label}: ${tray[prop.key]}</p>`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user