Skip to content

Commit

Permalink
chore(data-warehouse): Remove button to delete warehouse tables (#25396)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert09 authored Oct 4, 2024
1 parent 64edadf commit c222752
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const DatabaseTableTreeWithItems = ({ inline }: DatabaseTableTreeProps):
return <></>
}

if (table.type === 'view' || table.type === 'data_warehouse' || table.type === 'materialized_view') {
if (table.type === 'view' || table.type === 'materialized_view') {
return (
<LemonButton
data-attr="schema-list-item-delete"
Expand All @@ -97,10 +97,6 @@ export const DatabaseTableTreeWithItems = ({ inline }: DatabaseTableTreeProps):
)
}

if (table.type === 'posthog') {
return <></>
}

return <></>
}

Expand Down

0 comments on commit c222752

Please sign in to comment.