File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/app/core/components/app Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -38,29 +38,24 @@ export class AppComponent implements OnInit, OnDestroy {
38
38
}
39
39
40
40
networkStatus ( ) : void {
41
- console . log ( 'dfs' ) ;
42
-
43
41
this . onlineEvent = fromEvent ( window , 'online' ) ;
44
42
this . offlineEvent = fromEvent ( window , 'offline' ) ;
45
43
46
44
this . subscriptions . push (
47
45
this . onlineEvent . subscribe ( ( ) => {
48
- console . log ( "qqqq" ) ;
49
46
this . connectionStatus = 'online' ;
50
47
this . connectionStatusMessage = $localize `Vous êtes de nouveau en ligne.` ;
51
48
} )
52
49
) ;
53
50
54
51
this . subscriptions . push (
55
52
this . offlineEvent . subscribe ( ( ) => {
56
- console . log ( "ffff" ) ;
57
-
58
53
this . connectionStatus = 'offline' ;
59
- this . connectionStatusMessage = $localize `Vous n'êtes pas connecté à l'Internet` ;
54
+ this . connectionStatusMessage = $localize `Connexion perdue ! Vous n'êtes pas connecté à l'Internet` ;
60
55
} )
61
56
) ;
62
57
63
- console . log ( this . connectionStatus ) ;
58
+
64
59
}
65
60
66
61
updateTheme ( savedTheme : string | null = null ) : string {
You can’t perform that action at this time.
0 commit comments