fix for TranslateModule not exported (#1355)
fix lint errors Squashing and merging the PR after discussion with Ed. Co-authored-by: Nestor Lazcano <nestor_ronal09@hotmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ export class LanguageSelectorComponent implements OnInit {
|
||||
*/
|
||||
constructor(private i18nService: I18nService) {
|
||||
this.languageSelector.setValue(this.currentLanguage);
|
||||
this.languageSelector.valueChanges.subscribe( language => this.setLanguage(language) );
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user