mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
chore: Button cruft cleanup (#11342)
* toggleSchedule * cleaning up run query button * removing unnecessary (subtle!) style overrides * bulk action classname to button style prop * nixing btn-primary * nixing cancelQuery class * togglesave * nixing autocomplete class * linting * nixing button classes of 'ok' and 'reset' * unoing diagnostic test * begrudgingly adding an m-r-3 class... for now * this is not a class to worry about * test fixes for limit control * updating TODO notes, calling it a day for now. * gah... copy paste error.
This commit is contained in:
@@ -184,7 +184,7 @@ export default function SaveQuery({
|
||||
>
|
||||
{isSaved ? t('Save New') : t('Save')}
|
||||
</Button>
|
||||
<Button onClick={close} className="cancelQuery" cta>
|
||||
<Button onClick={close} data-test="cancel-query" cta>
|
||||
{t('Cancel')}
|
||||
</Button>
|
||||
</Col>
|
||||
@@ -195,7 +195,7 @@ export default function SaveQuery({
|
||||
|
||||
return (
|
||||
<span className="SaveQuery">
|
||||
<Button buttonSize="small" className="toggleSave" onClick={toggleSave}>
|
||||
<Button buttonSize="small" onClick={toggleSave}>
|
||||
<i className="fa fa-save" /> {t('Save')}
|
||||
</Button>
|
||||
<Modal
|
||||
|
||||
Reference in New Issue
Block a user