mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
feat(metrics): Provide override for disabling ad-hoc metrics (#17202)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -34,7 +34,7 @@ const propTypes = {
|
||||
savedMetrics: PropTypes.arrayOf(savedMetricType),
|
||||
savedMetricsOptions: PropTypes.arrayOf(savedMetricType),
|
||||
multi: PropTypes.bool,
|
||||
datasourceType: PropTypes.string,
|
||||
datasource: PropTypes.object,
|
||||
};
|
||||
|
||||
export default function MetricDefinitionValue({
|
||||
@@ -44,7 +44,7 @@ export default function MetricDefinitionValue({
|
||||
columns,
|
||||
savedMetrics,
|
||||
savedMetricsOptions,
|
||||
datasourceType,
|
||||
datasource,
|
||||
onMoveLabel,
|
||||
onDropLabel,
|
||||
index,
|
||||
@@ -70,7 +70,7 @@ export default function MetricDefinitionValue({
|
||||
onRemoveMetric,
|
||||
columns,
|
||||
savedMetricsOptions,
|
||||
datasourceType,
|
||||
datasource,
|
||||
adhocMetric,
|
||||
onMoveLabel,
|
||||
onDropLabel,
|
||||
|
||||
Reference in New Issue
Block a user