2
0

fix(subdevices): use name field instead of undefined field in select

This commit is contained in:
Pierre CLEMENT
2018-02-19 21:49:29 +01:00
parent 03af0b8c06
commit ee19899d9d

View File

@@ -30,7 +30,7 @@
for (sid in configNode.deviceList) {
var device = configNode.deviceList[sid];
if (device.internalModel === model) {
$('#node-input-sid').append('<option value="' + sid + '">' + device.desc + ' - ' + sid + '</option>');
$('#node-input-sid').append('<option value="' + sid + '">' + device.name + ' - ' + sid + '</option>');
}
}
if(node.sid) {