diff --git a/superset/assets/javascripts/explore/components/QueryAndSaveBtns.jsx b/superset/assets/javascripts/explore/components/QueryAndSaveBtns.jsx index b9ce21f80..8fe95fcba 100644 --- a/superset/assets/javascripts/explore/components/QueryAndSaveBtns.jsx +++ b/superset/assets/javascripts/explore/components/QueryAndSaveBtns.jsx @@ -56,7 +56,7 @@ export default function QueryAndSaveBtns( disabled={saveButtonDisabled} onClick={onSave} > - Save as + Save {errorMessage && diff --git a/superset/assets/spec/javascripts/explore/components/QueryAndSaveBtns_spec.jsx b/superset/assets/spec/javascripts/explore/components/QueryAndSaveBtns_spec.jsx index 78e5552eb..4f7d4e1b0 100644 --- a/superset/assets/spec/javascripts/explore/components/QueryAndSaveBtns_spec.jsx +++ b/superset/assets/spec/javascripts/explore/components/QueryAndSaveBtns_spec.jsx @@ -32,7 +32,7 @@ describe('QueryAndSaveButtons', () => { it('renders buttons with correct text', () => { expect(wrapper.find(Button).contains(' Query')).to.eql(true); - expect(wrapper.find(Button).contains(' Save as')).to.eql(true); + expect(wrapper.find(Button).contains(' Save')).to.eql(true); }); it('calls onQuery when query button is clicked', () => {