diff --git a/frontend/src/pam/mission/page-header.tsx b/frontend/src/pam/mission/page-header.tsx index a507622e..bc65fdd4 100644 --- a/frontend/src/pam/mission/page-header.tsx +++ b/frontend/src/pam/mission/page-header.tsx @@ -18,81 +18,82 @@ const StyledHeader = styled.div` ` interface MissionPageHeaderProps { - missionName: string - missionSource?: MissionSourceEnum - onClickClose: () => void - onClickExport: () => void - exportLoading?: boolean + missionName: string + missionSource?: MissionSourceEnum + onClickClose: () => void + onClickExport: () => void + exportLoading?: boolean } const MissionPageHeader: React.FC = ({ - missionName, - missionSource, - onClickClose, - onClickExport, - exportLoading + missionName, + missionSource, + onClickClose, + onClickExport, + exportLoading }) => { - const exportRapportEnabled = useFlag('export_rapport'); + const exportRapportEnabled = useFlag('export_rapport'); - return ( - - - - - - - {missionName} - - - { - !!missionSource && ( - - {/**/} - - {/**/} - - ) - } - - - - - - - - + return ( + + + + + + + {missionName} + + + { + !!missionSource && ( + + {/**/} + + {/**/} + + ) + } + + + + + + + + - - - - + + + + - - - - - ) + + + + + ) } export default MissionPageHeader