From cef79701b321a5bfad7539726585e92982e97a8d Mon Sep 17 00:00:00 2001
From: Marlene Simondant <msimondant@grandlyon.com>
Date: Tue, 18 Mar 2025 09:04:53 +0100
Subject: [PATCH] Table

---
 .../orientations-table/orientations-table.component.html      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/profile/dashboard/orientations-table/orientations-table.component.html b/src/app/profile/dashboard/orientations-table/orientations-table.component.html
index 10e487f60..cf036c1aa 100644
--- a/src/app/profile/dashboard/orientations-table/orientations-table.component.html
+++ b/src/app/profile/dashboard/orientations-table/orientations-table.component.html
@@ -13,8 +13,8 @@
     class="row"
     tabindex="0"
     [ngClass]="{
-      new: this.orientationService.daysAgo(orientation.createdAt) <= 14 && orientation.status === 'pending',
-      urgent: this.orientationService.daysAgo(orientation.createdAt) > 14 && orientation.status === 'pending',
+      new: this.orientationService.daysAgo(orientation.createdAt) <= 14 && orientation.status === 'new',
+      urgent: this.orientationService.daysAgo(orientation.createdAt) > 14 && orientation.status === 'new',
     }"
     [attr.aria-label]="
       'Ouvrir l orientation de ' + orientation.personOriented.name + ' ' + orientation.personOriented.surname
-- 
GitLab