mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-11 08:54:51 +05:00
fix: preserve sensor names as strings
This commit is contained in:
1 parent
549dbf4985
commit
9cf10201f6
1 file changed
+2
-2
@@ -335,7 +335,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setupForm(`.sensor[data-id='${sensorId}'] form`, fillData, ['address']);
|
setupForm(`.sensor[data-id='${sensorId}'] form`, fillData, ['name', 'address']);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -344,4 +344,4 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in new issue
Block a user