mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-01 08:26:35 +00:00
Fix CI TypeScript check and rust disk pressure
This commit is contained in:
@@ -2444,24 +2444,6 @@ function toggleSort(colName: string, colIdx: number) {
|
||||
}
|
||||
}
|
||||
|
||||
function applyHeaderSort(colName: string, colIdx: number, direction: "asc" | "desc" | null) {
|
||||
if (getIsResizing()) return;
|
||||
currentPage.value = 1;
|
||||
resetGridVerticalScroll(true);
|
||||
if (direction) {
|
||||
sortCol.value = colName;
|
||||
sortColIndex.value = colIdx;
|
||||
sortDir.value = direction;
|
||||
syncOrderByInputWithSort(colName, direction);
|
||||
} else {
|
||||
sortCol.value = null;
|
||||
sortColIndex.value = null;
|
||||
sortDir.value = "asc";
|
||||
syncOrderByInputWithSort(null, null);
|
||||
}
|
||||
emit("sort", colName, colIdx, direction, currentWhereInput());
|
||||
}
|
||||
|
||||
function applyContextSort(direction: "asc" | "desc" | null) {
|
||||
if (!contextColumn.value || !contextCell.value) return;
|
||||
const column = contextColumn.value;
|
||||
|
||||
Reference in New Issue
Block a user