default to reverse chronological sorting in the table (so users see their newest tracks on top). Fixes #350
This commit is contained in:
parent
b9c9a61ca1
commit
4ebffc529f
|
@ -156,7 +156,7 @@ function TrackFilters({
|
||||||
|
|
||||||
function TracksTable({ title }) {
|
function TracksTable({ title }) {
|
||||||
const [orderBy, setOrderBy] = useState("recordedAt");
|
const [orderBy, setOrderBy] = useState("recordedAt");
|
||||||
const [reversed, setReversed] = useState(false);
|
const [reversed, setReversed] = useState(true);
|
||||||
const [showFilters, setShowFilters] = useState(false);
|
const [showFilters, setShowFilters] = useState(false);
|
||||||
const [filters, setFilters] = useState<Filters>({});
|
const [filters, setFilters] = useState<Filters>({});
|
||||||
const [selectedTracks, setSelectedTracks] = useState<Record<string, boolean>>(
|
const [selectedTracks, setSelectedTracks] = useState<Record<string, boolean>>(
|
||||||
|
|
Loading…
Reference in a new issue