mirror of
https://github.com/apache/superset.git
synced 2026-05-30 04:39:20 +00:00
feat(explore-popover): Show disabled 'Save' button in explore popover (#21318)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io> Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
This commit is contained in:
@@ -406,10 +406,8 @@ const ColumnSelectPopover = ({
|
||||
{t('Close')}
|
||||
</Button>
|
||||
<Button
|
||||
disabled={!stateIsValid}
|
||||
buttonStyle={
|
||||
hasUnsavedChanges && stateIsValid ? 'primary' : 'default'
|
||||
}
|
||||
disabled={!stateIsValid || !hasUnsavedChanges}
|
||||
buttonStyle="primary"
|
||||
buttonSize="small"
|
||||
onClick={onSave}
|
||||
data-test="ColumnEdit#save"
|
||||
|
||||
Reference in New Issue
Block a user