Notification system enhanced
- Base for notifcation center - Show text in map if no data is available
This commit is contained in:
25
frontend/src/app/notifications/notifications.component.ts
Normal file
25
frontend/src/app/notifications/notifications.component.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user