Skip to content

Commit

Permalink
Merge branch 'master' into dw-data-model-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE authored Sep 4, 2024
2 parents b21187b + 989dbd9 commit 9c1241f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ export const databaseTableListLogic = kea<databaseTableListLogicType>([
}

return Object.values(database.tables)
.filter((n): n is DatabaseSchemaDataWarehouseTable => n.type === 'data_warehouse')
.filter(
(n): n is DatabaseSchemaDataWarehouseTable => n.type === 'data_warehouse' || n.type == 'view'
)
.reduce((acc, cur) => {
acc[cur.name] = database.tables[cur.name] as DatabaseSchemaDataWarehouseTable
return acc
Expand Down

0 comments on commit 9c1241f

Please sign in to comment.