[sql_lab]Disabled run query button if sql query editor is empty (#4728)

* Disabled run query button if sql query editor is empty

* Removing unnecessary white space

* Fix failing test for sql props

* Adding sql variable into propTypes and defaultProps
This commit is contained in:
Prashant
2018-04-04 03:28:23 +05:30
committed by Maxime Beauchemin
parent f6fe11f76e
commit 7a497e2f6b
3 changed files with 6 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ describe('RunQueryActionButton', () => {
runQuery: () => {}, // eslint-disable-line
selectedText: null,
stopQuery: () => {}, // eslint-disable-line
sql: '',
};
beforeEach(() => {