Skip to content

Commit 97dace7

Browse files
committed
Fixed property filtering rule
1 parent 92f2486 commit 97dace7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

arduino-cloud.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
console.log("property_id: " + this.property);
2727
if (this.connection) {
2828
initThings(this.connection, this.thing);
29-
initProperties(this.connection, this.thing, this.property,outs);
29+
initProperties(this.connection, this.thing, this.property, outs);
3030
}
3131
$("select#node-input-connection").change( () => {
3232
const connection = $("#node-input-connection").val();
@@ -224,7 +224,7 @@
224224
console.log("property_id: " + this.property);
225225
if (this.connection){
226226
initThings(this.connection, this.thing, this.property);
227-
initProperties(this.connection, this.thing, this.property);
227+
initProperties(this.connection, this.thing, this.property, 1);
228228
}
229229
$("select#node-input-connection").change( () => {
230230
const connection = $("#node-input-connection").val();
@@ -246,7 +246,7 @@
246246
$("#node-input-thing").change( () => {
247247
const thing_id = $( "#node-input-thing" ).val();
248248
if (thing_id && thing_id !== "0") {
249-
initProperties(this.connection, thing_id);
249+
initProperties(this.connection, thing_id, 1);
250250
} else {
251251
$("select#node-input-property").empty();
252252
}
@@ -334,7 +334,7 @@
334334
console.log("property_id: " + this.property);
335335
if (this.connection){
336336
initThings(this.connection, this.thing, this.property);
337-
initProperties(this.connection, this.thing, this.property);
337+
initProperties(this.connection, this.thing, this.property, 1);
338338
}
339339
$("select#node-input-connection").change( () => {
340340
const connection = $("#node-input-connection").val();
@@ -356,7 +356,7 @@
356356
$("#node-input-thing").change( () => {
357357
const thing_id = $( "#node-input-thing" ).val();
358358
if (thing_id && thing_id !== "0") {
359-
initProperties(this.connection, thing_id);
359+
initProperties(this.connection, thing_id, 1);
360360
} else {
361361
$("select#node-input-property").empty();
362362
}
@@ -441,7 +441,7 @@
441441
console.log("property_id: " + this.property);
442442
if (this.connection){
443443
initThings(this.connection, this.thing, this.property);
444-
initProperties(this.connection, this.thing, this.property);
444+
initProperties(this.connection, this.thing, this.property, 1);
445445
}
446446
$("select#node-input-connection").change( () => {
447447
const connection = $("#node-input-connection").val();
@@ -463,7 +463,7 @@
463463
$("#node-input-thing").change( () => {
464464
const thing_id = $( "#node-input-thing" ).val();
465465
if (thing_id && thing_id !== "0") {
466-
initProperties(this.connection, thing_id);
466+
initProperties(this.connection, thing_id, 1);
467467
} else {
468468
$("select#node-input-property").empty();
469469
}

0 commit comments

Comments
 (0)