Skip to content

Commit

Permalink
Merge pull request #196 from keppere/alway-show-table-footer
Browse files Browse the repository at this point in the history
alway show table footer with export button
  • Loading branch information
invisal authored Dec 12, 2024
2 parents b469e6a + 59de928 commit 8bb28a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/gui/query-result.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import isEmptyResultStats from "../lib/empty-stats";
import { MultipleQueryResult } from "../lib/multiple-query";
import ExportResultButton from "./export/export-result-button";
import ResultTable from "./query-result-table";
Expand Down Expand Up @@ -40,7 +39,7 @@ export default function QueryResult({
<QueryExplanation data={data.value} />
)}
</div>
{stats && !isEmptyResultStats(stats) && (
{stats && (
<div className="shrink-0">
<div className="flex p-1 border-t">
<ResultStats stats={stats} />
Expand Down

0 comments on commit 8bb28a7

Please sign in to comment.