diff --git a/ui/src/components/loa/loaList.vue b/ui/src/components/loa/loaList.vue index a097af4..1785564 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 } @@ -197,7 +197,7 @@ function setPage(pagenum: number) { - + @@ -220,10 +220,11 @@ function setPage(pagenum: number) { - + - + @@ -233,18 +234,24 @@ function setPage(pagenum: number) { - - - - Reason - + + + + + + Reason + + + - - {{ post.reason }} - + + {{ post.reason || 'No reason provided.' }} + + +
- Reason -
- {{ post.reason }} -