diff --git a/superset-frontend/src/explore/components/PropertiesModal.tsx b/superset-frontend/src/explore/components/PropertiesModal.tsx index f49dab0568d3a..0cb598888516c 100644 --- a/superset-frontend/src/explore/components/PropertiesModal.tsx +++ b/superset-frontend/src/explore/components/PropertiesModal.tsx @@ -262,18 +262,18 @@ function PropertiesModal({ slice, onHide, onSave }: InternalProps) { + - diff --git a/superset-frontend/src/explore/components/SaveModal.jsx b/superset-frontend/src/explore/components/SaveModal.jsx index 4ac1a79ddb3be..45b96ffd5160d 100644 --- a/superset-frontend/src/explore/components/SaveModal.jsx +++ b/superset-frontend/src/explore/components/SaveModal.jsx @@ -25,10 +25,10 @@ import { Button, FormControl, FormGroup, - ControlLabel, Modal, Radio, } from 'react-bootstrap'; +import FormLabel from 'src/components/FormLabel'; import { CreatableSelect } from 'src/components/Select/SupersetStyledSelect'; import { t } from '@superset-ui/translation'; import ReactMarkdown from 'react-markdown'; @@ -176,7 +176,7 @@ class SaveModal extends React.Component {
- {t('Chart name')} + {t('Chart name')} - {t('Add to dashboard')} + {t('Add to dashboard')} {t('Save & go to dashboard')} @@ -235,6 +239,7 @@ class SaveModal extends React.Component { bsSize="sm" bsStyle="primary" onClick={this.saveOrOverwrite.bind(this, false)} + disabled={!this.state.newSliceName} > {t('Save')}