You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by en...@apache.org on 2025/11/14 15:47:44 UTC

(superset) 01/02: refactor: simplify collapsible logic for extra extension section

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

enzomartellucci pushed a commit to branch enxdev/fix/dbt-cloud-panel
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 6b2447508929d01f89c995277ce7e031e807de7f
Author: Enzo Martellucci <en...@gmail.com>
AuthorDate: Fri Nov 14 16:46:20 2025 +0100

    refactor: simplify collapsible logic for extra extension section
---
 .../src/features/databases/DatabaseModal/ExtraOptions.tsx           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx b/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
index df57bf2eba..b2c6c9398e 100644
--- a/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
+++ b/superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
@@ -613,9 +613,9 @@ const ExtraOptions = ({
           ? [
               {
                 key: extraExtension?.title,
-                collapsible: extraExtension.enabled?.()
-                  ? ('icon' as const)
-                  : ('disabled' as const),
+                ...(extraExtension.enabled?.()
+                  ? {}
+                  : { collapsible: 'disabled' as const }),
                 label: (
                   <CollapseLabelInModal
                     key={extraExtension?.title}