Skip to content

Commit 5a8b6dc

Browse files
committed
aq
1 parent 48fc699 commit 5a8b6dc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/app/core/components/app/app.component.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,24 @@ export class AppComponent implements OnInit, OnDestroy {
3838
}
3939

4040
networkStatus(): void {
41-
console.log('dfs');
42-
4341
this.onlineEvent = fromEvent(window, 'online');
4442
this.offlineEvent = fromEvent(window, 'offline');
4543

4644
this.subscriptions.push(
4745
this.onlineEvent.subscribe(() => {
48-
console.log("qqqq");
4946
this.connectionStatus = 'online';
5047
this.connectionStatusMessage = $localize`Vous êtes de nouveau en ligne.`;
5148
})
5249
);
5350

5451
this.subscriptions.push(
5552
this.offlineEvent.subscribe(() => {
56-
console.log("ffff");
57-
5853
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`;
6055
})
6156
);
6257

63-
console.log(this.connectionStatus);
58+
6459
}
6560

6661
updateTheme(savedTheme: string | null = null): string {

0 commit comments

Comments
 (0)