From 769ac1dedd957afa3ddcf1ff7d60067d0aef1080 Mon Sep 17 00:00:00 2001 From: Arnaud Ambroselli <31724752+arnaudambro@users.noreply.github.com> Date: Thu, 7 Dec 2023 18:48:19 +0100 Subject: [PATCH] =?UTF-8?q?fix(dashboard):=20on=20peut=20voir=20les=20?= =?UTF-8?q?=C3=A9quipes=20pour=20chaque=20consultation=20dans=20les=20comp?= =?UTF-8?q?tes-rendus=20(#1800)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/scenes/report/view.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dashboard/src/scenes/report/view.js b/dashboard/src/scenes/report/view.js index 83dda19bb..91f162ab2 100644 --- a/dashboard/src/scenes/report/view.js +++ b/dashboard/src/scenes/report/view.js @@ -1373,6 +1373,15 @@ const Consultations = ({ date, status, consultations, setSortOrder, setSortBy, s sortOrder, render: (consultation) => , }, + { + title: 'Équipe(s) en charge', + dataKey: 'team', + render: (a) => ( +
+ {Array.isArray(a?.teams) ? a.teams.map((e) => ) : } +
+ ), + }, ]} /> @@ -1430,6 +1439,15 @@ const ConsultationsCreatedAt = ({ date, consultations }) => { render: (action) => , }, { title: 'Statut', dataKey: 'status', render: (action) => }, + { + title: 'Équipe(s) en charge', + dataKey: 'team', + render: (a) => ( +
+ {Array.isArray(a?.teams) ? a.teams.map((e) => ) : } +
+ ), + }, ]} />