mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
fix(explore): Disable saved metric name edit in Metric popover (#12582)
This commit is contained in:
committed by
GitHub
parent
862ddd9cb4
commit
853d34beba
@@ -62,7 +62,7 @@ export default function MetricDefinitionValue({
|
||||
|
||||
if (option instanceof AdhocMetric || savedMetric) {
|
||||
const adhocMetric =
|
||||
option instanceof AdhocMetric ? option : new AdhocMetric({});
|
||||
option instanceof AdhocMetric ? option : new AdhocMetric({ isNew: true });
|
||||
|
||||
const metricOptionProps = {
|
||||
onMetricEdit,
|
||||
|
||||
Reference in New Issue
Block a user