From 7b26eb3484deb5b561a07e7e985104e7899e7b12 Mon Sep 17 00:00:00 2001 From: PhilippMDoerner Date: Mon, 9 Dec 2024 13:18:51 +0100 Subject: [PATCH] Remove log --- .../organisms/mobile-header/mobile-header.component.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/design/organisms/mobile-header/mobile-header.component.ts b/src/design/organisms/mobile-header/mobile-header.component.ts index 3ce10ebfc..4b2c44e6b 100644 --- a/src/design/organisms/mobile-header/mobile-header.component.ts +++ b/src/design/organisms/mobile-header/mobile-header.component.ts @@ -7,7 +7,7 @@ import { } from '@angular/core'; import { RouterLink } from '@angular/router'; import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'; -import { fromEvent, map, merge, startWith, tap } from 'rxjs'; +import { fromEvent, map, merge, startWith } from 'rxjs'; import { environment } from 'src/environments/environment'; import { IconComponent } from '../../atoms/icon/icon.component'; @@ -31,8 +31,5 @@ export class MobileHeaderComponent { online$ = merge( fromEvent(window, 'online').pipe(map(() => true)), fromEvent(window, 'offline').pipe(map(() => false)), - ).pipe( - startWith(window.navigator.onLine), - tap((val) => console.log('online:', val)), - ); + ).pipe(startWith(window.navigator.onLine)); }