Skip to content

Commit

Permalink
feat(notebooks): allow editing the insight config in notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Nov 7, 2023
1 parent 21ba4a2 commit 291f93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Component = ({ attributes }: NotebookNodeProps<NotebookNodeQueryAttributes

if (NodeKind.InsightVizNode === modifiedQuery.kind || NodeKind.SavedInsightNode === modifiedQuery.kind) {
modifiedQuery.showFilters = false
modifiedQuery.showHeader = false
modifiedQuery.showHeader = true
modifiedQuery.showTable = false
modifiedQuery.showCorrelationTable = false
modifiedQuery.embedded = true
Expand All @@ -87,7 +87,7 @@ const Component = ({ attributes }: NotebookNodeProps<NotebookNodeQueryAttributes
<div
className={clsx('flex flex-1 flex-col', NodeKind.DataTableNode === modifiedQuery.kind && 'overflow-hidden')}
>
<Query query={modifiedQuery} uniqueKey={nodeId} readOnly={true} />
<Query query={modifiedQuery} uniqueKey={nodeId} />
</div>
)
}
Expand Down

0 comments on commit 291f93c

Please sign in to comment.