1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

add CurrencyPipe to providers

This commit is contained in:
Kyle Spearrin 2018-08-31 15:47:35 -04:00
parent 56f6063648
commit ad505ee6c6

View File

@ -61,7 +61,10 @@ import { PopOutComponent } from './components/pop-out.component';
import { IconComponent } from 'jslib/angular/components/icon.component'; import { IconComponent } from 'jslib/angular/components/icon.component';
import { registerLocaleData } from '@angular/common'; import {
CurrencyPipe,
registerLocaleData,
} from '@angular/common';
import localeBg from '@angular/common/locales/bg'; import localeBg from '@angular/common/locales/bg';
import localeCs from '@angular/common/locales/cs'; import localeCs from '@angular/common/locales/cs';
import localeDa from '@angular/common/locales/da'; import localeDa from '@angular/common/locales/da';
@ -184,7 +187,9 @@ registerLocaleData(localeZhTw, 'zh-TW');
ViewComponent, ViewComponent,
], ],
entryComponents: [], entryComponents: [],
providers: [], providers: [
CurrencyPipe,
],
bootstrap: [AppComponent], bootstrap: [AppComponent],
}) })
export class AppModule { } export class AppModule { }