remove debug logs
This commit is contained in:
parent
5a9caf69a5
commit
4c11c4d9e6
@ -70,7 +70,6 @@ import { JukeboxComponent } from './pages/jukebox/jukebox.compontent';
|
||||
|
||||
export function init_app(i18n: I18nService) {
|
||||
return () => {
|
||||
console.log("APP_INITIALIZER");
|
||||
i18n.fetch();
|
||||
};
|
||||
}
|
||||
|
@ -48,11 +48,8 @@ export class I18nService {
|
||||
|
||||
await this.http.get(environment.apiUrl + "/i18n").subscribe({
|
||||
next: (data: any) => {
|
||||
console.log("fetch3", data);
|
||||
this.locales = data;
|
||||
}, error: (error) => {
|
||||
console.debug("fallback to default locales");
|
||||
}
|
||||
}, error: (error) => { }
|
||||
});
|
||||
|
||||
if (this.locales.indexOf(locale) == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user