mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
Switch button position (#12604)
This commit is contained in:
@@ -193,23 +193,23 @@ const DatasourceModal: FunctionComponent<DatasourceModalProps> = ({
|
||||
{t('Use legacy datasource editor')}
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
data-test="datasource-modal-cancel"
|
||||
buttonSize="sm"
|
||||
className="m-r-5"
|
||||
onClick={onHide}
|
||||
>
|
||||
{t('Cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
buttonSize="sm"
|
||||
buttonStyle="primary"
|
||||
className="m-r-5"
|
||||
data-test="datasource-modal-save"
|
||||
onClick={onClickSave}
|
||||
disabled={isSaving || errors.length > 0}
|
||||
>
|
||||
{t('Save')}
|
||||
</Button>
|
||||
<Button
|
||||
data-test="datasource-modal-cancel"
|
||||
buttonSize="sm"
|
||||
onClick={onHide}
|
||||
>
|
||||
{t('Cancel')}
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
responsive
|
||||
|
||||
Reference in New Issue
Block a user