first commit

This commit is contained in:
faviem
2026-04-01 17:15:17 +01:00
commit be395dce23
2474 changed files with 558561 additions and 0 deletions

35
src/app/app.component.ts Normal file
View File

@@ -0,0 +1,35 @@
import { Component, ChangeDetectorRef } from '@angular/core';
import { GlobalService } from './global.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
isActionInProgress = true;
constructor(
private globalService: GlobalService,
private cdref: ChangeDetectorRef,
private router: Router
) { }
ngOnInit(): void {
this.globalService.getLodingSuccess().subscribe({
next: (data: boolean) => {
this.isActionInProgress = data;
},
error: () => {
this.isActionInProgress = false;
}
});
}
ngAfterContentChecked() {
this.cdref.detectChanges();
}
}