diff --git a/packages/reservation-platform/src/app/admin/page.tsx b/packages/reservation-platform/src/app/admin/page.tsx index 755682b..949df51 100644 --- a/packages/reservation-platform/src/app/admin/page.tsx +++ b/packages/reservation-platform/src/app/admin/page.tsx @@ -49,7 +49,7 @@ export default async function AdminPage() { const currentPrintJobs = printJobs.filter((job) => { if (job.aborted) return false; - const endAt = new Date(job.startAt).getTime() + job.durationInMinutes * 1000 * 60; + const endAt = job.startAt.getTime() + job.durationInMinutes * 1000 * 60; return endAt > currentDate.getTime(); });