diff --git a/dashboard/src/components/drawer.js b/dashboard/src/components/drawer.js index e1aa9485f..5c20ee98d 100644 --- a/dashboard/src/components/drawer.js +++ b/dashboard/src/components/drawer.js @@ -77,7 +77,7 @@ const Drawer = () => { )} - {['admin', 'normal', 'restricted-access'].includes(role) && ( + {process.env.REACT_APP_TEST_PLAYWRIGHT === 'true' && ['admin', 'normal', 'restricted-access'].includes(role) && ( <>
  • @@ -90,7 +90,7 @@ const Drawer = () => { <>
  • - Comptes rendus BETA + Comptes rendus
  • diff --git a/dashboard/src/scenes/report/view.js b/dashboard/src/scenes/report/view.js index 5124489e3..903a7b6e6 100644 --- a/dashboard/src/scenes/report/view.js +++ b/dashboard/src/scenes/report/view.js @@ -2,7 +2,6 @@ import { useEffect, useMemo } from 'react'; import { useParams } from 'react-router-dom'; import { addOneDay, dateForDatePicker, formatDateWithNameOfDay } from '../../services/date'; import { HeaderStyled, Title as HeaderTitle } from '../../components/header'; -import { ModalBody, ModalContainer, ModalFooter, ModalHeader } from '../../components/tailwind/Modal'; import dayjs from 'dayjs'; import { TODO } from '../../recoil/actions'; @@ -211,7 +210,6 @@ const View = () => { const teams = useRecoilValue(teamsState); const [viewAllOrganisationData, setViewAllOrganisationData] = useLocalStorage('reports-allOrg', teams.length === 1); const [selectedTeamIds, setSelectedTeamIds] = useLocalStorage('reports-teams', [currentTeam._id]); - const [showWarning, setShowWarning] = useLocalStorage('reports-beta-warnign', true); const [preset, setPreset, removePreset] = useLocalStorage('reports-date-preset', null); let [period, setPeriod] = useLocalStorage('reports-period', { @@ -392,26 +390,6 @@ const View = () => { )} - setShowWarning(false)}> - setShowWarning(false)} /> - -

    - Ce module est en cours de développement. -
    - Il est possible que vous rencontriez des bugs. -
    - N'hésitez pas à nous faire remonter les problèmes rencontrés. -
    -
    - Merci beaucoup ! -

    -
    - - - -
    ); };