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/07 22:13:24 UTC

[superset] branch fix_extension_collapse created (now 5943f92fb3)

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

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


      at 5943f92fb3 fix: DB extension collapse

This branch includes the following new commits:

     new 5943f92fb3 fix: DB extension collapse

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: fix: DB extension collapse

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5943f92fb382f29dee4d6e8fa6ff2c68e14d609a
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Wed Jun 7 15:09:38 2023 -0700

    fix: DB extension collapse
---
 .../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} />