This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 4.1-airbnb
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/4.1-airbnb by this push:
new 86f9d27726 fix(sqllab): Allow clear on schema and catalog (#32515)
86f9d27726 is described below
commit 86f9d27726deee59c7928ebc1f65f2749a92d94f
Author: JUST.in DO IT <[email protected]>
AuthorDate: Fri Mar 7 13:28:05 2025 -0800
fix(sqllab): Allow clear on schema and catalog (#32515)
(cherry picked from commit 4c3aae7583fd1fec034574894c766d9466610927)
---
superset-frontend/src/components/DatabaseSelector/index.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset-frontend/src/components/DatabaseSelector/index.tsx
b/superset-frontend/src/components/DatabaseSelector/index.tsx
index 321d753bc5..0f1b6aa30c 100644
--- a/superset-frontend/src/components/DatabaseSelector/index.tsx
+++ b/superset-frontend/src/components/DatabaseSelector/index.tsx
@@ -392,6 +392,7 @@ export default function DatabaseSelector({
options={catalogOptions}
showSearch
value={currentCatalog || undefined}
+ allowClear
/>,
refreshIcon,
);
@@ -418,6 +419,7 @@ export default function DatabaseSelector({
options={schemaOptions}
showSearch
value={currentSchema}
+ allowClear
/>,
refreshIcon,
);