From 8b2f966701111b1b7f4eefbcab34ca21315f3187 Mon Sep 17 00:00:00 2001 From: Qian Xia Date: Thu, 31 Oct 2024 14:22:55 +0800 Subject: [PATCH] [#5360] Improvement(web): hidden commont and property element for oceanbase schema (#5387) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What changes were proposed in this pull request? image ### Why are the changes needed? Fix: #5360 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? manually --- .../metalakes/metalake/rightContent/CreateSchemaDialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/web/src/app/metalakes/metalake/rightContent/CreateSchemaDialog.js b/web/web/src/app/metalakes/metalake/rightContent/CreateSchemaDialog.js index 9b90c0bb6d..08efd4036d 100644 --- a/web/web/src/app/metalakes/metalake/rightContent/CreateSchemaDialog.js +++ b/web/web/src/app/metalakes/metalake/rightContent/CreateSchemaDialog.js @@ -293,7 +293,7 @@ const CreateSchemaDialog = props => { - {!['jdbc-mysql', 'lakehouse-paimon'].includes(activatedCatalogDetail?.provider) && ( + {!['jdbc-mysql', 'lakehouse-paimon', 'jdbc-oceanbase'].includes(activatedCatalogDetail?.provider) && ( { )} - {!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql'].includes( + {!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql', 'jdbc-oceanbase'].includes( activatedCatalogDetail?.provider ) && ( @@ -400,7 +400,7 @@ const CreateSchemaDialog = props => { )} - {!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql'].includes( + {!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql', 'jdbc-oceanbase'].includes( activatedCatalogDetail?.provider ) && (