File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 8686 $ ( "select#node-input-property" ) . empty ( ) ;
8787 $ ( "<option value='" + "" + "'> " + "No connection selected" + "</option>" ) . appendTo ( "#node-input-property" ) ;
8888 $ ( "#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. ") {
9090 if ( thing_id === undefined || thing_id === null || thing_id === "" ) {
9191 $ ( "select#node-input-property" ) . empty ( ) ;
9292 $ ( "<option value='" + "" + "'> " + "No thing selected" + "</option>" ) . appendTo ( "#node-input-property" ) ;
167167 $ ( "<option value='" + "" + "'> " + things . error + "</option>" ) . appendTo ( "#node-input-thing" ) ;
168168 $ ( "select#node-input-property" ) . empty ( ) ;
169169 $ ( "<option value='" + "" + "'> " + things . error + "</option>" ) . appendTo ( "#node-input-property" ) ;
170+ $ ( "#node-input-thing" ) . trigger ( "change" ) ;
170171 } else if ( things && Array . isArray ( things ) && things . length !== 0 ) {
171172 $ ( "<option value='" + "" + "'> " + "Select a thing" + "</option>" ) . appendTo ( "#node-input-thing" ) ;
172173 for ( const t of things ) {
You can’t perform that action at this time.
0 commit comments