You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2023/06/08 17:41:45 UTC

[superset] branch master updated: fix: DB extension collapse (#24315)

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

beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new bf91ed98ee fix: DB extension collapse (#24315)
bf91ed98ee is described below

commit bf91ed98ee772a8780676e0b197c692fa41bed73
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Thu Jun 8 10:41:37 2023 -0700

    fix: DB extension collapse (#24315)
---
 .../src/features/databases/DatabaseModal/ExtraOptions.tsx              | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx b/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
index dad8b337f9..207e197cd4 100644
--- a/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
+++ b/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
@@ -466,7 +466,8 @@ const ExtraOptions = ({
             </div>
           }
           key={extraExtension?.title}
-          collapsible={extraExtension.enabled?.() ? 'header' : 'disabled'}
+          // @ts-ignore, 'icon' is valid in >=4.9.0 but missing from `CollapsibleType`
+          collapsible={extraExtension.enabled?.() ? 'icon' : 'disabled'}
         >
           <StyledInputContainer css={no_margin_bottom}>
             <ExtraExtensionComponent db={db} onEdit={extraExtension.onEdit} />