diff --git a/apps/dashboard/lib/trpc/routers/audit/fetch.ts b/apps/dashboard/lib/trpc/routers/audit/fetch.ts index f44def33a7..4c0207a795 100644 --- a/apps/dashboard/lib/trpc/routers/audit/fetch.ts +++ b/apps/dashboard/lib/trpc/routers/audit/fetch.ts @@ -35,6 +35,11 @@ export const fetchAuditLog = rateLimitedProcedure(ratelimit.read) } const { slicedItems, hasMore } = omitLastItemForPagination(result.logs, params.limit); + + // logs are sorted by id, to make our pagination work + // here we need to resort them by time for displaying the table in the correct order + slicedItems.sort((a, b) => b.time - a.time); + const uniqueUsers = await fetchUsersFromLogs(slicedItems); const items: AuditLogsResponse["auditLogs"] = slicedItems.map((l) => { diff --git a/internal/checkly/src/__checks__/heartbeats.check.ts b/internal/checkly/src/__checks__/heartbeats.check.ts index e282b3d613..15817dd94f 100644 --- a/internal/checkly/src/__checks__/heartbeats.check.ts +++ b/internal/checkly/src/__checks__/heartbeats.check.ts @@ -31,7 +31,6 @@ new HeartbeatCheck("workflows-count-keys", { graceUnit: "minutes", }); - new HeartbeatCheck("quota-checks", { alertChannels: [slack], name: "Github Actions: Quota Checks",