Skip to content

Commit

Permalink
restore outputpane
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Dec 11, 2024
1 parent 42ba1d1 commit d28b7be
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions frontend/src/scenes/data-warehouse/editor/OutputPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export function OutputPane(): JSX.Element {
return responseLoading ? (
<Spinner className="text-3xl" />
) : !response ? (
<div className="flex flex-col flex-1 justify-center items-center">
<span className="text-muted mt-3">Query results will appear here</span>
</div>
<span className="text-muted mt-3">Query results will appear here</span>
) : (
<div className="flex-1 absolute top-0 left-0 right-0 bottom-0">
<DataGrid
Expand All @@ -91,9 +89,7 @@ export function OutputPane(): JSX.Element {

if (activeTab === OutputTab.Visualization) {
return !response ? (
<div className="flex flex-col flex-1 justify-center items-center">
<span className="text-muted mt-3">Query be results will be visualized here</span>
</div>
<span className="text-muted mt-3">Query be results will be visualized here</span>
) : (
<div className="flex-1 absolute top-0 left-0 right-0 bottom-0 px-4 py-1 hide-scrollbar">
<InternalDataTableVisualization
Expand Down Expand Up @@ -201,7 +197,7 @@ export function OutputPane(): JSX.Element {
</LemonButton>
</div>
</div>
<div className="flex flex-1 relative bg-dark">
<div className="flex flex-1 relative bg-dark justify-center items-center">
<Content />
</div>
</div>
Expand Down

0 comments on commit d28b7be

Please sign in to comment.