mirror of
https://github.com/tugsi/Filaman.git
synced 2026-11-12 18:50:38 +01:00
fix: update calibration index check in displayAmsData function
This commit is contained in:
1 parent
dc82c04a17
commit
3e1490cafc
1 file changed
+1
-1
+1
-1
@@ -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>`;
|
||||||
|
|||||||
Reference in new issue
Block a user