Skip to content

Commit

Permalink
[#5360] Improvement(web): hidden commont and property element for oce…
Browse files Browse the repository at this point in the history
…anbase schema (#5394)

### What changes were proposed in this pull request?
<img width="757" alt="image"
src="https://github.com/user-attachments/assets/663b628f-0024-4dcc-b977-a45cd1ee5346">


### Why are the changes needed?
Fix: #5360

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
manually

Co-authored-by: Qian Xia <[email protected]>
  • Loading branch information
github-actions[bot] and LauraXia123 authored Oct 31, 2024
1 parent 5d1b8ae commit 84a1161
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const CreateSchemaDialog = props => {
</FormControl>
</Grid>

{!['jdbc-mysql', 'lakehouse-paimon'].includes(activatedCatalogDetail?.provider) && (
{!['jdbc-mysql', 'lakehouse-paimon', 'jdbc-oceanbase'].includes(activatedCatalogDetail?.provider) && (
<Grid item xs={12}>
<FormControl fullWidth>
<Controller
Expand All @@ -318,7 +318,7 @@ const CreateSchemaDialog = props => {
</Grid>
)}

{!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql'].includes(
{!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql', 'jdbc-oceanbase'].includes(
activatedCatalogDetail?.provider
) && (
<Grid item xs={12} data-refer='schema-props-layout'>
Expand Down Expand Up @@ -400,7 +400,7 @@ const CreateSchemaDialog = props => {
</Grid>
)}

{!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql'].includes(
{!['jdbc-postgresql', 'lakehouse-paimon', 'kafka', 'jdbc-mysql', 'jdbc-oceanbase'].includes(
activatedCatalogDetail?.provider
) && (
<Grid item xs={12}>
Expand Down

0 comments on commit 84a1161

Please sign in to comment.