mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
[sql-lab] Fixing Run Query tooltip (#3774)
This commit is contained in:
committed by
Maxime Beauchemin
parent
aed7c7436a
commit
8e3217a921
@@ -19,7 +19,6 @@ export default function RunQueryActionButton(props) {
|
||||
const runBtnText = props.selectedText ? t('Run Selected Query') : t('Run Query');
|
||||
const btnStyle = props.selectedText ? 'warning' : 'primary';
|
||||
const shouldShowStopBtn = ['running', 'pending'].indexOf(props.queryState) > -1;
|
||||
const asyncToolTip = t('Run query asynchronously');
|
||||
|
||||
const commonBtnProps = {
|
||||
bsSize: 'small',
|
||||
@@ -32,7 +31,7 @@ export default function RunQueryActionButton(props) {
|
||||
{...commonBtnProps}
|
||||
onClick={() => props.runQuery(false)}
|
||||
key="run-btn"
|
||||
tooltip={asyncToolTip}
|
||||
tooltip={t('Run query synchronously')}
|
||||
>
|
||||
<i className="fa fa-refresh" /> {runBtnText}
|
||||
</Button>
|
||||
@@ -43,7 +42,7 @@ export default function RunQueryActionButton(props) {
|
||||
{...commonBtnProps}
|
||||
onClick={() => props.runQuery(true)}
|
||||
key="run-async-btn"
|
||||
tooltip={asyncToolTip}
|
||||
tooltip={t('Run query asynchronously')}
|
||||
>
|
||||
<i className="fa fa-table" /> {runBtnText}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user