File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1571,19 +1571,20 @@ module openflow {
15711571 WebSocketClient . onSignedin ( async ( user : TokenUser ) => {
15721572 await api . RegisterQueue ( ) ;
15731573 this . noderedurl = "https://" + WebSocketClient . nodered_domain_schema . replace ( "$nodered_id$" , WebSocketClient . user . username ) ;
1574- this . GetNoderedInstance ( ) ;
1574+ // this.GetNoderedInstance();
1575+ setTimeout ( this . GetNoderedInstance . bind ( this ) , 2000 ) ;
15751576 } ) ;
15761577 }
15771578 async GetNoderedInstance ( ) {
15781579 try {
15791580 this . instance = await this . api . GetNoderedInstance ( ) ;
15801581 console . log ( "GetNoderedInstance:" ) ;
15811582 console . log ( this . instance ) ;
1582- if ( this . instance !== null && this . instance !== undefined ) {
1583- this . messages += "GetNoderedInstance completed, status " + this . instance . status . phase + "\n" ;
1584- } else {
1585- this . messages += "GetNoderedInstance completed, status unknown/not existing " + "\n" ;
1586- }
1583+ // if (this.instance !== null && this.instance !== undefined) {
1584+ // this.messages += "GetNoderedInstance completed, status " + this.instance.status.phase + "\n";
1585+ // } else {
1586+ // this.messages += "GetNoderedInstance completed, status unknown/non existent " + "\n";
1587+ // }
15871588 } catch ( error ) {
15881589 this . messages += error + "\n" ;
15891590 console . error ( error ) ;
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ <h1 translate lib="web">sockets</h1>
1616 </ div >
1717 </ section >
1818</ form >
19- < section ng-repeat =" key in ctrl.keys " >
19+ < section >
2020 < div class ="form-group ">
2121 < label class ="col-sm-3 control-label "> < span translate lib ="web "> status</ span > : </ label >
2222 < div class ="col-sm-9 ">
23- < span ng-show ="ctrl.instance==null "> Not created </ span >
23+ < span ng-show ="ctrl.instance==null "> unknown/non existent </ span >
2424 < span ng-show ="ctrl.instance!=null "> {{ ctrl.instance.status.phase }}</ span >
2525 </ div >
2626 </ div >
Original file line number Diff line number Diff line change 1- 0.0.209
1+ 0.0.210
You can’t perform that action at this time.
0 commit comments