File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
examples/gauge/Components Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ export class InterfaceSample extends DisplayComponent<InterfaceSampleProps> {
78
78
)
79
79
}
80
80
81
- public onBeforeRender ( ) : void {
82
- super . onBeforeRender ( )
83
- }
84
-
85
81
public onAfterRender ( node : VNode ) : void {
86
82
super . onAfterRender ( node )
87
83
@@ -92,11 +88,9 @@ export class InterfaceSample extends DisplayComponent<InterfaceSampleProps> {
92
88
console . time ( "query" )
93
89
this . navigationDataInterface
94
90
. get_airport ( this . inputRef . instance . value )
95
- . then ( airport => {
96
- console . info ( airport )
97
- console . timeEnd ( "query" )
98
- } )
91
+ . then ( airport => console . info ( airport ) )
99
92
. catch ( e => console . error ( e ) )
93
+ . finally ( ( ) => console . timeEnd ( "query" ) )
100
94
} )
101
95
102
96
AuthService . user . sub ( user => {
You can’t perform that action at this time.
0 commit comments