mgr/dashboard: Remove I18N from main.ts

With AOT I18N there is no need to provide I18N from the main.ts file.

Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Tiago Melo 2019-10-01 13:11:59 +00:00 committed by Ricardo Dias
parent 5bf5e340e4
commit 8c485fe100
No known key found for this signature in database
GPG Key ID: 74390C579BD37B68

View File

@ -2,7 +2,6 @@ import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { i18nProviders } from './app/locale.helper';
import { environment } from './environments/environment';
if (environment.production) {
@ -10,7 +9,5 @@ if (environment.production) {
}
platformBrowserDynamic()
.bootstrapModule(AppModule, {
providers: i18nProviders
})
.bootstrapModule(AppModule)
.catch((err) => console.log(err));