Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
Sort activity types list in sidebar
Khuram Niaz39b647eb7ddc
diff --git a/src/actions/task.actions.ts b/src/actions/task.actions.tsindex 370e7d1..66156bb 100644--- a/src/actions/task.actions.ts+++ b/src/actions/task.actions.ts@@ -373,12 +373,14 @@ export const getActivityTypesWithTaskCounts = async (): Promise<},});- const data = activityTypes.map((type) => ({- id: type.id,- label: type.label,- value: type.value,- taskCount: type._count.Tasks,- }));+ const data = activityTypes+ .map((type) => ({+ id: type.id,+ label: type.label,+ value: type.value,+ taskCount: type._count.Tasks,+ }))+ .sort((a, b) => b.taskCount - a.taskCount);const totalTasks = await prisma.task.count({where: {