26 lines
598 B
TypeScript
26 lines
598 B
TypeScript
import { AfterContentInit, Component, OnDestroy, OnInit } from '@angular/core';
|
|
import { APIService } from '../api.service';
|
|
|
|
@Component({
|
|
selector: 'app-notifications',
|
|
templateUrl: './notifications.component.html',
|
|
styleUrls: ['./notifications.component.scss']
|
|
})
|
|
export class NotificationsComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
|
|
constructor(private api: APIService) { }
|
|
|
|
ngOnInit(): void {
|
|
}
|
|
|
|
ngAfterContentInit(): void {
|
|
this.api.showFilter = false;
|
|
console.log(this.api.showFilter);
|
|
}
|
|
|
|
ngOnDestroy(): void {
|
|
this.api.showFilter = true;
|
|
}
|
|
|
|
}
|