Skip to content

Commit 3db46b2

Browse files
committed
fallback to created_at
1 parent 3967097 commit 3db46b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/features/dashboard/templates/list

src/features/dashboard/templates/list/table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function TemplatesTable() {
5959
// Derive the single server sort token from the active sort column + direction.
6060
const sortColumn = sorting[0]
6161
const sortBase =
62-
(sortColumn && COLUMN_TO_SORT_BASE[sortColumn.id]) ?? 'updated_at'
62+
(sortColumn && COLUMN_TO_SORT_BASE[sortColumn.id]) ?? 'created_at'
6363
const sort =
6464
`${sortBase}_${sortColumn?.desc === false ? 'asc' : 'desc'}` as TemplatesSort
6565

0 commit comments

Comments
 (0)