fix(tracker): tracker page adjustments
This commit is contained in:
parent
f2f9ad83ac
commit
9354af8cb8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue