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

View File

@ -53,6 +53,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/.ghcup || true
docker system prune -af || true
df -h
- name: Install system dependencies
run: |
sudo apt-get update

View File

@ -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;