remove debug logs

This commit is contained in:
_Bastler 2022-03-20 11:23:45 +01:00
parent 5a9caf69a5
commit 4c11c4d9e6
2 changed files with 1 additions and 5 deletions

View File

@ -70,7 +70,6 @@ import { JukeboxComponent } from './pages/jukebox/jukebox.compontent';
export function init_app(i18n: I18nService) { export function init_app(i18n: I18nService) {
return () => { return () => {
console.log("APP_INITIALIZER");
i18n.fetch(); i18n.fetch();
}; };
} }

View File

@ -48,11 +48,8 @@ export class I18nService {
await this.http.get(environment.apiUrl + "/i18n").subscribe({ await this.http.get(environment.apiUrl + "/i18n").subscribe({
next: (data: any) => { next: (data: any) => {
console.log("fetch3", data);
this.locales = data; this.locales = data;
}, error: (error) => { }, error: (error) => { }
console.debug("fallback to default locales");
}
}); });
if (this.locales.indexOf(locale) == -1) { if (this.locales.indexOf(locale) == -1) {