Skip to content

Commit ca3a2cf

Browse files
committed
fix(locale): Fix incorrect currency display assignment.
1 parent 3862b66 commit ca3a2cf

File tree

1 file changed

+1
-1
lines changed
  • projects/igniteui-angular/src/lib/core

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/core/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ function formatNumberGeneric(value: number | string | null | undefined, style?:
713713
} else if (display === 'symbol-narrow') {
714714
currencyDisplay = 'narrowSymbol';
715715
} else {
716-
currencyCode = display || undefined;
716+
currencyDisplay = display || undefined;
717717
}
718718
const options: Intl.NumberFormatOptions = {
719719
style: style,

0 commit comments

Comments
 (0)