Skip to content

Commit

Permalink
fix(grid): change how we get the currency code (#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanastasov authored Nov 19, 2021
1 parent 335a56b commit 4fb5cd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
case GridColumnDataType.Time:
return formatDate(element, format, locale, timezone);
case GridColumnDataType.Currency:
return formatCurrency(element, currencyCode ?? getLocaleCurrencyCode(locale), display, digitsInfo, locale);
return formatCurrency(element, currencyCode || getLocaleCurrencyCode(locale), display, digitsInfo, locale);
case GridColumnDataType.Number:
return formatNumber(element, locale, digitsInfo);
case GridColumnDataType.Percent:
Expand Down

0 comments on commit 4fb5cd0

Please sign in to comment.