Heatmap solver is now a worker
- Android app now requests root (purpose still unknown) - Android app starts on boot - Frontend is now a PWA (purpose still unknown)
This commit is contained in:
22
frontend/src/app/admin/admin.component.ts
Normal file
22
frontend/src/app/admin/admin.component.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user