diff --git a/src/app/pages/logs/logs.component.ts b/src/app/pages/logs/logs.component.ts index fef01f5..1df2dcd 100644 --- a/src/app/pages/logs/logs.component.ts +++ b/src/app/pages/logs/logs.component.ts @@ -1,4 +1,4 @@ -import { AfterViewInit, Component, NgZone } from '@angular/core'; +import { AfterViewInit, Component, NgZone, OnDestroy } from '@angular/core'; import { LogsService } from './logs.service'; import { NavbarService } from '../../shared/components/navbar/navbar.service'; import { NavbarLink } from '../../shared/components/navbar/navbar.model'; @@ -12,7 +12,7 @@ import { Subscription } from 'rxjs'; templateUrl: './logs.component.html', styleUrl: './logs.component.scss' }) -export class LogsComponent extends BasePageComponent implements AfterViewInit { +export class LogsComponent extends BasePageComponent implements AfterViewInit, OnDestroy { private initing: boolean = false; private scrollEventsRegistered: boolean = false;