Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Commit 211bbd0

Browse files
committed
select all bug fixed
1 parent 8a93af8 commit 211bbd0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/desktop/src/components/dbfragments/table/table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const Table = ({ queryData, dbConnection, mSchema, mName, isInteractive, showHea
171171
}
172172

173173
const changeSort = (newSortIdx: string) => {
174-
if (!isInteractive) {
174+
if (!isInteractive || newSortIdx === "selection") {
175175
return
176176
}
177177
const newSortName: string = displayColumns.find((_, i) => {

frontend/server/src/components/dbfragments/showdata.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ const DBShowDataFragment = () => {
147147
<progress className="progress is-primary" max="100">loading</progress>
148148
:
149149
<nav className="pagination is-centered is-rounded" role="navigation" aria-label="pagination">
150-
<Button className="pagination-previous" text='Previous' onClick={onPreviousPage}/>
151-
<Button className="pagination-next" text='Next' onClick={onNextPage}/>
150+
<Button className="pagination-previous" text="Previous" onClick={onPreviousPage} />
151+
<Button className="pagination-next" text="Next" onClick={onNextPage} />
152152
<ul className="pagination-list">
153153
Showing {queryOffset} - {queryOffsetRangeEnd} of {queryCount}
154154
</ul>

frontend/server/src/components/dbfragments/table/table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const Table = ({ queryData, dbConnection, mSchema, mName, isInteractive, showHea
171171
}
172172

173173
const changeSort = (newSortIdx: string) => {
174-
if (!isInteractive) {
174+
if (!isInteractive || newSortIdx === "selection") {
175175
return
176176
}
177177
const newSortName: string = displayColumns.find((_, i) => {

0 commit comments

Comments
 (0)