Skip to content

Commit 5e1d832

Browse files
committed
Fix reset of property name field
1 parent 3eaa948 commit 5e1d832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-cloud.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
const connection = $("#node-input-connection").val();
4444
$("select#node-input-thing").empty();
4545
$("select#node-input-property").empty();
46-
if(this.defaultname) {
46+
if(this.defaultname && connection === "_ADD_") {
4747
$("#node-input-name").val("");
4848
}
4949
if (this.connection !== connection && connection !== "_ADD_") {

0 commit comments

Comments
 (0)