Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Jan 15, 2025
1 parent e5e90f7 commit f18024e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,12 @@ export const hogFunctionConfigurationLogic = kea<hogFunctionConfigurationLogicTy
select: defaultDataTableColumns(NodeKind.EventsQuery),
},
full: false,
showEventFilter: false,
showPropertyFilter: false,
embedded: true,
showOpenEditorButton: true,
showHogQLEditor: false,
showTimings: false,
}
: null
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ export function HogFunctionEventEstimates(): JSX.Element {
const { sparkline, sparklineLoading, eventsListQuery, showEventsList } = useValues(hogFunctionConfigurationLogic)
const { setShowEventsList } = useActions(hogFunctionConfigurationLogic)

// const vizNode: DataVisualizationNode = {
// kind: NodeKind.DataVisualizationNode,
// source: eventsListQuery,
// }

// const newInsightUrl = urls.insightNew(InsightType.SQL, null, eventsListQuery)

return (
<div className="relative p-3 space-y-2 border rounded bg-bg-light">
<LemonLabel>Matching events</LemonLabel>
Expand Down Expand Up @@ -51,7 +58,7 @@ export function HogFunctionEventEstimates(): JSX.Element {
</LemonButton>

{showEventsList ? (
<div className="flex flex-col flex-1 overflow-y-auto max-h-200">
<div className="flex flex-col flex-1 overflow-y-auto border rounded max-h-200">
{eventsListQuery && <Query query={eventsListQuery} />}
</div>
) : null}
Expand Down

0 comments on commit f18024e

Please sign in to comment.