Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

Update web-app/src/routes/project/index.tsx

Faisal Amirb0bca2ac1f5e
diff --git a/web-app/src/routes/project/index.tsx b/web-app/src/routes/project/index.tsx
index f609f7943..fa8e1cf3a 100644
--- a/web-app/src/routes/project/index.tsx
+++ b/web-app/src/routes/project/index.tsx
@@ -124,7 +124,7 @@ function ProjectContent() {
<div className="space-y-3">
{folders
.slice()
- .sort((a, b) => a.updated_at - b.updated_at)
+ .sort((a, b) => b.updated_at - a.updated_at)
.map((folder) => {
const projectThreads = getThreadsForProject(folder.id)
const isExpanded = expandedProjects.has(folder.id)