You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/01/12 19:43:18 UTC

[superset] 01/02: set height

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hugh-fix-confirmDatasetStyle
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 4433dfee494a8db1b4167579eca125cc4584b516
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Jan 11 22:23:49 2021 -0500

    set height
---
 superset-frontend/src/datasource/ChangeDatasourceModal.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/datasource/ChangeDatasourceModal.tsx b/superset-frontend/src/datasource/ChangeDatasourceModal.tsx
index 1ab8249..77f85b7 100644
--- a/superset-frontend/src/datasource/ChangeDatasourceModal.tsx
+++ b/superset-frontend/src/datasource/ChangeDatasourceModal.tsx
@@ -221,7 +221,7 @@ const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
       onHide={onHide}
       responsive
       title={t('Change Dataset')}
-      height="350px"
+      height={confirmChange ? '50px' : '350px'}
       footer={
         <>
           {confirmChange && (