tab switch results

This commit is contained in:
Tykayn 2025-09-15 17:46:00 +02:00 committed by tykayn
parent 97ab7a0920
commit 89cb0f2635
16 changed files with 396 additions and 238 deletions

View file

@ -18,6 +18,7 @@ export class App {
public router = inject(Router);
currentUrl: string = '';
public appState: any = {};
public user: any = {};
protected readonly title = signal('implem');
constructor(private store: Store<StateInterface>) {
@ -25,6 +26,9 @@ export class App {
this.store.select(state => state.app).subscribe(appState => {
this.appState = appState;
});
this.store.select(state => state.user).subscribe(user => {
this.user = user;
});
this.router.events.pipe(
filter(event => event instanceof NavigationEnd)
).subscribe((event: any) => {