diff --git a/frontend/src/scenes/data-management/database/databaseTableListLogic.ts b/frontend/src/scenes/data-management/database/databaseTableListLogic.ts index 409d9a2c03983..9718eb83c76b9 100644 --- a/frontend/src/scenes/data-management/database/databaseTableListLogic.ts +++ b/frontend/src/scenes/data-management/database/databaseTableListLogic.ts @@ -109,7 +109,9 @@ export const databaseTableListLogic = kea([ } 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