You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/04/13 19:05:20 UTC
(superset) 15/45: fix(sqllab): demote "Save as new" button from primary to secondary (#39179)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 6.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 374cc592acbdf6122777899ef0ffa6808abb4fa7
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Wed Apr 8 12:03:44 2026 -0700
fix(sqllab): demote "Save as new" button from primary to secondary (#39179)
Co-authored-by: Claude Opus 4.6 <no...@anthropic.com>
(cherry picked from commit 140f0001f21e53ac5dbc7acdffd9e5aff87721cd)
---
superset-frontend/src/SqlLab/components/SaveQuery/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx b/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
index 3d235cbd739..dc5e05b862c 100644
--- a/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
+++ b/superset-frontend/src/SqlLab/components/SaveQuery/index.tsx
@@ -233,7 +233,7 @@ const SaveQuery = ({
{t('Cancel')}
</Button>
<Button
- buttonStyle={isSaved ? undefined : 'primary'}
+ buttonStyle={isSaved ? 'secondary' : 'primary'}
onClick={onSaveWrapper}
cta
>