From 40edc092a38eef8b582c5b20d916d91cdf5946b6 Mon Sep 17 00:00:00 2001 From: "ahmed.mujtaba" Date: Thu, 20 Aug 2026 18:40:24 +0500 Subject: [PATCH] top limit maitnained --- frontend/src/screens/Jobs.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/screens/Jobs.jsx b/frontend/src/screens/Jobs.jsx index 17f189d..a37c6da 100644 --- a/frontend/src/screens/Jobs.jsx +++ b/frontend/src/screens/Jobs.jsx @@ -28,7 +28,8 @@ import * as tasksApi from '../api/tasks' import { JOB_STATUSES } from '../api/jobs' import { empTypes, fmtShort } from '../data/seed' -const JOB_LIMIT = 200 +// Must stay within GET /jobs/fetch `top` max (le=100); 200 returns 422 and an empty board. +const JOB_LIMIT = 100 async function fetchJobs() { const res = await jobsApi.list({ top: JOB_LIMIT })