diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd5d02ffa..886b83474 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vue index 8ff8e31a2..b7d3aa53f 100644 --- a/apps/desktop/src/components/grid/DataGrid.vue +++ b/apps/desktop/src/components/grid/DataGrid.vue @@ -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;