diff --git a/superset-frontend/src/SqlLab/components/RunQueryActionButton/index.tsx b/superset-frontend/src/SqlLab/components/RunQueryActionButton/index.tsx index 0a2aa992643b5..f9181188f9817 100644 --- a/superset-frontend/src/SqlLab/components/RunQueryActionButton/index.tsx +++ b/superset-frontend/src/SqlLab/components/RunQueryActionButton/index.tsx @@ -146,7 +146,9 @@ const RunQueryActionButton = ({ ), trigger: 'click', } - : { buttonStyle: 'primary' })} + : { + buttonStyle: shouldShowStopBtn ? 'warning' : 'primary', + })} > {buildText(shouldShowStopBtn, selectedText)} diff --git a/superset-frontend/src/explore/components/RunQueryButton/index.tsx b/superset-frontend/src/explore/components/RunQueryButton/index.tsx index 622cb516f00bf..f5e3bcfed0cbb 100644 --- a/superset-frontend/src/explore/components/RunQueryButton/index.tsx +++ b/superset-frontend/src/explore/components/RunQueryButton/index.tsx @@ -42,7 +42,7 @@ export const RunQueryButton = ({ }: RunQueryButtonProps) => loading ? ( ) : (