Fix CI TypeScript check and rust disk pressure

This commit is contained in:
t8y2
2026-05-28 00:15:19 +08:00
parent 797c0d8d21
commit 753e40d403
2 changed files with 6 additions and 18 deletions
@@ -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;