fix(tracker): tracker page adjustments

This commit is contained in:
null 2026-06-07 17:50:17 -05:00
parent f2f9ad83ac
commit 9354af8cb8
1 changed files with 2 additions and 1 deletions

View File

@ -492,7 +492,6 @@ export default function TrackerPage() {
|| filters.debt
|| hasSort
);
const searchResultLabel = `${filteredRows.length} of ${rows.length} shown`;
const searchSortLabel = hasSort ? `sorted by ${TRACKER_SORT_LABELS[sortKey]} ${sortDir === TRACKER_SORT_ASC ? 'ascending' : 'descending'}` : null;
const resetFilters = () => {
updateParams({ q: null, fc: null, cy: null, ap: null, b1: null, b2: null, un: null, ov: null, de: null, sort: null, dir: null });
@ -549,6 +548,8 @@ export default function TrackerPage() {
})
: filteredRows;
const searchResultLabel = `${filteredRows.length} of ${rows.length} shown`;
const first = sortedRows.filter(r => r.bucket === '1st');
const second = sortedRows.filter(r => r.bucket === '15th');
const reorderEnabled = !hasFilters && !loading && !isError && !pinUpcoming;