tab switch results
This commit is contained in:
parent
97ab7a0920
commit
89cb0f2635
16 changed files with 396 additions and 238 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue