diff --git a/ui/src/components/loa/loaList.vue b/ui/src/components/loa/loaList.vue index a097af4..844f3ae 100644 --- a/ui/src/components/loa/loaList.vue +++ b/ui/src/components/loa/loaList.vue @@ -84,7 +84,7 @@ function loaStatus(loa: LOARequest): "Upcoming" | "Active" | "Overdue" | "Closed if (now < start) return "Upcoming"; if (now >= start && now <= end) return "Active"; - if (now > end) return "Overdue"; + if (now > loa.extended_till || end) return "Overdue"; return "Overdue"; // fallback }