Skip to content

Commit

Permalink
fix wrong order of col settings computations
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmadUsmani committed Jun 18, 2024
1 parent bfb43e3 commit 9563154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/metabase/static-viz/lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ const getColumnSettings = (
: { column, ...column.settings };

if (isNumber(column) && !isCoordinate(column)) {
fillWithDefaultValue(columnSettings, "currency", getDefaultCurrency());
fillWithDefaultValue(
columnSettings,
"number_style",
getDefaultNumberStyle(column, columnSettings),
);
fillWithDefaultValue(columnSettings, "currency", getDefaultCurrency());
fillWithDefaultValue(
columnSettings,
"currency_style",
Expand Down

0 comments on commit 9563154

Please sign in to comment.