- Android app now requests root (purpose still unknown) - Android app starts on boot - Frontend is now a PWA (purpose still unknown)
23 lines
531 B
TypeScript
23 lines
531 B
TypeScript
import { AfterContentInit, Component, OnDestroy, OnInit } from '@angular/core';
|
|
import { APIService } from '../api.service';
|
|
|
|
@Component({
|
|
selector: 'app-admin',
|
|
templateUrl: './admin.component.html',
|
|
styleUrls: ['./admin.component.scss']
|
|
})
|
|
export class AdminComponent implements AfterContentInit, OnDestroy {
|
|
|
|
constructor(public api: APIService) { }
|
|
|
|
ngAfterContentInit(): void {
|
|
this.api.showFilter = false;
|
|
console.log(this.api.showFilter);
|
|
}
|
|
|
|
ngOnDestroy(): void {
|
|
this.api.showFilter = true;
|
|
}
|
|
|
|
}
|