styling multi filters
This commit is contained in:
parent
a359d0f9b1
commit
4ef8d42da2
23 changed files with 205 additions and 120 deletions
|
@ -1,8 +1,10 @@
|
|||
import {Component, inject, signal} from '@angular/core';
|
||||
import {ActivatedRoute, Router, RouterOutlet, NavigationEnd} from '@angular/router';
|
||||
import {NavigationEnd, Router, RouterOutlet} from '@angular/router';
|
||||
import {TopNavigation} from './shared/navigation/top-navigation/top-navigation';
|
||||
import {FeedbackButton} from 'sae-lib/buttons/feedback-button/feedback-button';
|
||||
import {filter} from 'rxjs/operators';
|
||||
import {Store} from '@ngrx/store';
|
||||
import {StateInterface} from './redux/reducers';
|
||||
|
||||
// import {SaeLib} from '@sae-lib/src/public-api';
|
||||
|
||||
|
@ -15,9 +17,14 @@ import {filter} from 'rxjs/operators';
|
|||
export class App {
|
||||
public router = inject(Router);
|
||||
currentUrl: string = '';
|
||||
public appState: any = {};
|
||||
protected readonly title = signal('implem');
|
||||
|
||||
constructor() {
|
||||
constructor(private store: Store<StateInterface>) {
|
||||
|
||||
this.store.select(state => state.app).subscribe(appState => {
|
||||
this.appState = appState;
|
||||
});
|
||||
this.router.events.pipe(
|
||||
filter(event => event instanceof NavigationEnd)
|
||||
).subscribe((event: any) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue