From 615c69e71227546fd757cb8485c8973298ce4cff Mon Sep 17 00:00:00 2001 From: Arnaud Ambroselli <31724752+arnaudambro@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:13:47 +0100 Subject: [PATCH] chore: plus d'espace dans la liste d'actions et de consultations de nouveau compte-rendu (#1835) * chore: plus d'espace dans la liste d'actions * fix: remove debug --- .github/workflows/playwright.yml | 1 - dashboard/src/components/ActionsSortableList.js | 3 ++- dashboard/src/components/DateBloc.js | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index ac09cb942..68028e3c7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -56,7 +56,6 @@ jobs: PGPORT: 5432 PGUSER: postgres PGPASSWORD: postgres - DEBUG: pw:api - uses: actions/upload-artifact@v3 if: always() diff --git a/dashboard/src/components/ActionsSortableList.js b/dashboard/src/components/ActionsSortableList.js index 6e1ff83a6..7e380a8c2 100644 --- a/dashboard/src/components/ActionsSortableList.js +++ b/dashboard/src/components/ActionsSortableList.js @@ -81,7 +81,7 @@ const ActionsSortableList = ({ data, limit }) => { sortOrder, render: (actionOrConsult) => { return ( -
+
{!!actionOrConsult.urgent && } {!!actionOrConsult.description && } {!!organisation.groupsEnabled && !!actionOrConsult.group && ( @@ -134,6 +134,7 @@ const ActionsSortableList = ({ data, limit }) => { title: 'Statut', onSortOrder: setSortOrder, onSortBy: setSortBy, + small: true, sortBy, sortOrder, dataKey: 'status', diff --git a/dashboard/src/components/DateBloc.js b/dashboard/src/components/DateBloc.js index a050d7409..05b32b45b 100644 --- a/dashboard/src/components/DateBloc.js +++ b/dashboard/src/components/DateBloc.js @@ -16,7 +16,12 @@ const DateBloc = ({ date }) => { {date && date.format('D')} {date && date.format('MMMM')} - {date && date.format('YYYY') !== dayjs.utc().format('YYYY') && ` ${date.format('YYYY')}`} + {date && date.format('YYYY') !== dayjs.utc().format('YYYY') && ( + <> +
+ {date.format('YYYY')} + + )}
);