File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/gauge/Components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export class NavigraphLogin extends DisplayComponent<NavigraphLoginProps> {
60
60
< div class = "auth-container" >
61
61
< div class = "horizontal" >
62
62
< div class = "vertical" >
63
- < div ref = { this . textRef } / >
63
+ < div ref = { this . textRef } > Loading </ div >
64
64
< div ref = { this . loginButtonRef } class = "button" />
65
65
< div ref = { this . navdataTextRef } />
66
66
< img ref = { this . qrCodeRef } class = "qr-code" />
@@ -93,12 +93,12 @@ export class NavigraphLogin extends DisplayComponent<NavigraphLoginProps> {
93
93
this . qrCodeRef . instance . src = ""
94
94
this . qrCodeRef . instance . style . display = "none"
95
95
this . loginButtonRef . instance . textContent = "Log out"
96
- this . displayMessage ( `Welcome, ${ user . preferred_username } ` )
96
+ this . textRef . instance . textContent = `Welcome, ${ user . preferred_username } `
97
97
98
98
this . handleLogin ( )
99
99
} else {
100
100
this . loginButtonRef . instance . textContent = "Sign in"
101
- this . displayMessage ( "Not logged in" )
101
+ this . textRef . instance . textContent = "Not logged in"
102
102
}
103
103
} , true )
104
104
}
You can’t perform that action at this time.
0 commit comments