mirror of
https://github.com/apache/superset.git
synced 2026-05-11 19:05:24 +00:00
feat: Add currencies controls in control panels (#24718)
This commit is contained in:
committed by
Michael S. Molina
parent
dfd699f440
commit
10e781d0ff
@@ -62,6 +62,7 @@ export default {
|
||||
[headerFontSize],
|
||||
[subheaderFontSize],
|
||||
['y_axis_format'],
|
||||
['currency_format'],
|
||||
[
|
||||
{
|
||||
name: 'time_format',
|
||||
|
||||
@@ -53,6 +53,7 @@ export default function transformProps(
|
||||
timeFormat,
|
||||
yAxisFormat,
|
||||
conditionalFormatting,
|
||||
currencyFormat,
|
||||
} = formData;
|
||||
const refs: Refs = {};
|
||||
const { data = [], coltypes = [] } = queriesData[0];
|
||||
@@ -80,6 +81,7 @@ export default function transformProps(
|
||||
currencyFormats,
|
||||
columnFormats,
|
||||
yAxisFormat,
|
||||
currencyFormat,
|
||||
);
|
||||
|
||||
const headerFormatter =
|
||||
|
||||
@@ -136,6 +136,7 @@ const config: ControlPanelConfig = {
|
||||
[headerFontSize],
|
||||
[subheaderFontSize],
|
||||
['y_axis_format'],
|
||||
['currency_format'],
|
||||
[
|
||||
{
|
||||
name: 'time_format',
|
||||
|
||||
@@ -91,6 +91,7 @@ export default function transformProps(
|
||||
subheaderFontSize,
|
||||
forceTimestampFormatting,
|
||||
yAxisFormat,
|
||||
currencyFormat,
|
||||
timeRangeFixed,
|
||||
} = formData;
|
||||
const granularity = extractTimegrain(rawFormData);
|
||||
@@ -180,6 +181,7 @@ export default function transformProps(
|
||||
currencyFormats,
|
||||
columnFormats,
|
||||
yAxisFormat,
|
||||
currencyFormat,
|
||||
);
|
||||
|
||||
const headerFormatter =
|
||||
|
||||
Reference in New Issue
Block a user