Skip to content

Commit

Permalink
fix: order audit logs by time, show latest on top (unkeyed#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark authored and AkshayBandi027 committed Oct 14, 2024
1 parent 91ca5e9 commit b231220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/(app)/audit/[bucket]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default async function AuditPage(props: Props) {
with: {
targets: true,
},
orderBy: (table, { asc }) => asc(table.id),
orderBy: (table, { desc }) => desc(table.time),
limit: 100,
},
},
Expand Down

0 comments on commit b231220

Please sign in to comment.