mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
fix(explore): Save button incorrectly disabled when adding new metric with dnd (#23000)
This commit is contained in:
committed by
GitHub
parent
2dff0009e9
commit
7d5c86b44c
@@ -328,7 +328,7 @@ const DndMetricSelect = (props: any) => {
|
||||
}
|
||||
return new AdhocMetric(config);
|
||||
}
|
||||
return new AdhocMetric({ isNew: true });
|
||||
return new AdhocMetric({});
|
||||
}, [droppedItem]);
|
||||
|
||||
const ghostButtonText = isFeatureEnabled(FeatureFlag.ENABLE_DND_WITH_CLICK_UX)
|
||||
@@ -370,6 +370,7 @@ const DndMetricSelect = (props: any) => {
|
||||
visible={newMetricPopoverVisible}
|
||||
togglePopover={togglePopover}
|
||||
closePopover={closePopover}
|
||||
isNew
|
||||
>
|
||||
<div />
|
||||
</AdhocMetricPopoverTrigger>
|
||||
|
||||
Reference in New Issue
Block a user