This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new f5d64176f6 fix: fixed Add Metrics to Tree Chart (#29158) (#30679)
f5d64176f6 is described below
commit f5d64176f6c6e85081ba91cae6f6174ded84fd7e
Author: SBIN2010 <[email protected]>
AuthorDate: Wed Apr 2 19:04:36 2025 +0300
fix: fixed Add Metrics to Tree Chart (#29158) (#30679)
---
.../plugins/plugin-chart-echarts/src/Tree/controlPanel.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/superset-frontend/plugins/plugin-chart-echarts/src/Tree/controlPanel.tsx
b/superset-frontend/plugins/plugin-chart-echarts/src/Tree/controlPanel.tsx
index 34d65a27d3..4d8b0fa978 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/Tree/controlPanel.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/Tree/controlPanel.tsx
@@ -89,9 +89,9 @@ const controlPanel: ControlPanelConfig = {
{
name: 'metric',
config: {
- ...optionalEntity,
- type: 'DndMetricSelect',
- label: t('Metric'),
+ ...sharedControls.metric,
+ clearable: true,
+ validators: [],
description: t('Metric for node values'),
},
},