diff --git a/frontend/src/v2/pages/mission-list-ulam-page.tsx b/frontend/src/v2/pages/mission-list-ulam-page.tsx index 3cfa4112..ad3dd0b2 100644 --- a/frontend/src/v2/pages/mission-list-ulam-page.tsx +++ b/frontend/src/v2/pages/mission-list-ulam-page.tsx @@ -12,6 +12,7 @@ import MissionListDateRangeNavigator from '../features/common/components/element import MissionListing from '../features/common/components/elements/mission-listing.tsx' import useMissionsQuery from '../features/common/services/use-missions.tsx' import ExportAEMButton from '../features/common/components/ui/export-aem-button.tsx' +import Text from '@common/components/ui/text.tsx' const SIDEBAR_ITEMS = [ { @@ -39,15 +40,24 @@ const MissionListUlamPage: React.FC = () => { setQueryParams(newDateRange) } - return ( - } actions={} />} - sidebar={} - footer={<>} - > - {loading ? ( - - ) : ( + if (loading) { + return ( + Missions en cours de chargement} + /> + ) + } + + if (data) { + return ( + } actions={} />} + sidebar={} + footer={<>} + > { } missionListing={} /> - )} - - ) + + ) + } + + } export default MissionListUlamPage