Skip to content

Commit

Permalink
fix(data-warehouse): Fix error with loading a warehouse insight (#21987)
Browse files Browse the repository at this point in the history
Fix error with loading a warehouse insight
  • Loading branch information
Gilbert09 authored Apr 30, 2024
1 parent 6876dd8 commit fdc8b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/scenes/insights/insightVizDataLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export const insightVizDataLogic = kea<insightVizDataLogicType>([
return []
}

return externalTablesMap[(series[0] as DataWarehouseNode).table_name].columns
return externalTablesMap[(series[0] as DataWarehouseNode)?.table_name]?.columns ?? []
},
],

Expand Down

0 comments on commit fdc8b7d

Please sign in to comment.