File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 86
86
$ ( "select#node-input-property" ) . empty ( ) ;
87
87
$ ( "<option value='" + "" + "'> " + "No connection selected" + "</option>" ) . appendTo ( "#node-input-property" ) ;
88
88
$ ( "#node-input-property" ) . trigger ( "change" ) ;
89
- } else if ( property_id !== "updating" ) {
89
+ } else if ( thing_id !== "updating" && property_id !== "updating" && thing_text !== " Wrong credentials or system unavailable. ") {
90
90
if ( thing_id === undefined || thing_id === null || thing_id === "" ) {
91
91
$ ( "select#node-input-property" ) . empty ( ) ;
92
92
$ ( "<option value='" + "" + "'> " + "No thing selected" + "</option>" ) . appendTo ( "#node-input-property" ) ;
167
167
$ ( "<option value='" + "" + "'> " + things . error + "</option>" ) . appendTo ( "#node-input-thing" ) ;
168
168
$ ( "select#node-input-property" ) . empty ( ) ;
169
169
$ ( "<option value='" + "" + "'> " + things . error + "</option>" ) . appendTo ( "#node-input-property" ) ;
170
+ $ ( "#node-input-thing" ) . trigger ( "change" ) ;
170
171
} else if ( things && Array . isArray ( things ) && things . length !== 0 ) {
171
172
$ ( "<option value='" + "" + "'> " + "Select a thing" + "</option>" ) . appendTo ( "#node-input-thing" ) ;
172
173
for ( const t of things ) {
You can’t perform that action at this time.
0 commit comments