mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
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:
parent
5bf5e340e4
commit
8c485fe100
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user