CSC link state to filters
This commit is contained in:
parent
0a8088b459
commit
8694a04ea9
31 changed files with 191 additions and 191 deletions
|
@ -4,6 +4,8 @@ import {FiltersGroup} from 'sae-lib/filters/filters-group/filters-group';
|
|||
import {BottomNavigation} from '../../shared/navigation/bottom-navigation/bottom-navigation';
|
||||
import {FeedbackButton} from 'sae-lib/buttons/feedback-button/feedback-button';
|
||||
import {BotTalks} from 'sae-lib/chatbot/bot-talks/bot-talks';
|
||||
import {Store} from '@ngrx/store';
|
||||
import {StateInterface} from '../../redux/reducers';
|
||||
|
||||
|
||||
@Component({
|
||||
|
@ -20,4 +22,20 @@ import {BotTalks} from 'sae-lib/chatbot/bot-talks/bot-talks';
|
|||
})
|
||||
export class Main {
|
||||
|
||||
public appState: any = {};
|
||||
|
||||
constructor(private store: Store<StateInterface>) {
|
||||
this.store.select(state => state.app).subscribe(app => {
|
||||
this.appState = app;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
onSelectedChoicesChange(e: any) {
|
||||
console.log('onSelectedChoicesChange', e);
|
||||
}
|
||||
|
||||
onAvailableChoicesChange(e: any) {
|
||||
console.log('onSelectedChoicesChange', e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue