mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-04-11 21:49:17 +03:00
feat: add importedAt-based repository sorting (#226)
* repositories: add importedAt sorting * repositories: use tanstack table for repo list
This commit is contained in:
@@ -187,6 +187,7 @@ export const POST: APIRoute = async ({ request, locals }) => {
|
||||
status: "imported" as RepoStatus,
|
||||
lastMirrored: null,
|
||||
errorMessage: null,
|
||||
importedAt: new Date(),
|
||||
createdAt: repo.created_at ? new Date(repo.created_at) : new Date(),
|
||||
updatedAt: repo.updated_at ? new Date(repo.updated_at) : new Date(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user