File tree Expand file tree Collapse file tree
services/language_translation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 < i class = "fa fa-question-circle" > </ i > < b > Please wait: </ b > Checking for bound service credentials...
2121 </ div >
2222 </ div >
23+ < div id = "credentials-not-found" class = "form-row" >
24+ < div class = "form-tips" >
25+ < i class = "fa fa-question-circle" > </ i > < b > Wrong credentials. </ b > Could not retrieve models.
26+ </ div >
27+ < / d i v >
2328 < div class = "form-row" >
2429 < label for = "node-input-name" > < i class = "fa fa-tag" > </ i > Name</ label >
2530 < input type = "text" id = "node-input-name" placeholder = "Name" >
344349 } )
345350
346351 if ( ( first_launch || ! models ) && logon ) {
352+ $ ( '#credentials-not-found' ) . hide ( ) ;
347353 getModels ( ) ;
348354 first_launch = false ;
349- } else {
355+ } else if ( models ) {
356+ $ ( '#credentials-not-found' ) . hide ( ) ;
350357 handlersUI ( ) ;
351358 selectAction ( ) ;
359+ } else {
360+ $ ( '#credentials-not-found' ) . show ( ) ;
352361 }
353362 }
354363
You can’t perform that action at this time.
0 commit comments