fix: [search query view] edit link is broken (#10128)

* fix: [search query view] edit link is broken

* eslint + mypy

* rever app.py changes

* addressing comments

* use api/v1/query

* fix test
This commit is contained in:
Maxime Beauchemin
2020-06-25 12:20:10 -07:00
committed by GitHub
parent 0017b61f51
commit 1781ebbaa4
8 changed files with 43 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ const RunQueryActionButton = ({
runQuery = NO_OP,
selectedText,
stopQuery = NO_OP,
sql,
sql = '',
}: Props) => {
const runBtnText = selectedText ? t('Run Selected Query') : t('Run');
const btnStyle = selectedText ? 'warning' : 'primary';