diff --git a/web/src/app/logs/chat/chat.component.ts b/web/src/app/logs/chat/chat.component.ts index 98e3142..9fd6a2e 100644 --- a/web/src/app/logs/chat/chat.component.ts +++ b/web/src/app/logs/chat/chat.component.ts @@ -12,7 +12,7 @@ import { faHistory } from '@fortawesome/free-solid-svg-icons'; templateUrl: './chat.component.html', styleUrls: ['./chat.component.sass'] }) -export class ChatComponent implements OnInit, OnDestroy { +export class ChatComponent implements OnDestroy { text = ''; streamLogsSub: Option; @@ -37,10 +37,6 @@ export class ChatComponent implements OnInit, OnDestroy { this.fetchPreviousMarker = Option.none(); } - ngOnInit(): void { - this.streamLogs(); - } - ngOnDestroy(): void { this.streamLogsSub.ifSome(s => s.unsubscribe()); }