monkey-front-core 0.0.244 → 0.0.245

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -463,12 +463,12 @@ class MonkeyEcxFormatCurrencyPipe {
463
463
  this.currencyPipe = currencyPipe;
464
464
  // not to do
465
465
  }
466
- transform(value) {
466
+ transform(value, symbol = 'symbol') {
467
467
  const cookieStorageService = this.injector.get(MonkeyEcxCookieStorageService);
468
468
  const cookie = cookieStorageService.getCookie('monkey-app-locale');
469
469
  const i18n = JSON.parse(atob(cookie));
470
470
  const { currency } = i18n;
471
- return this.currencyPipe.transform(value, currency, 'symbol');
471
+ return this.currencyPipe.transform(value, currency, symbol);
472
472
  }
473
473
  }
474
474
  MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i0.Injector }, { token: i2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });