diff --git a/src/features/ModelPlan/ModelToOperations/Home/index.tsx b/src/features/ModelPlan/ModelToOperations/Home/index.tsx index aa281a4e81..836b0fcb37 100644 --- a/src/features/ModelPlan/ModelToOperations/Home/index.tsx +++ b/src/features/ModelPlan/ModelToOperations/Home/index.tsx @@ -22,6 +22,7 @@ import useMessage from 'hooks/useMessage'; import MTOModal from '../_components/FormModal'; import MTOStatusBanner from '../_components/StatusBanner'; import MTOTable from '../_components/Table'; +import MTOTableActions from '../_components/Table/Actions'; export type MTOOption = 'milestones' | 'systems-and-solutions'; @@ -78,10 +79,7 @@ const MTOHome = () => { ]} /> - { - // !isModalOpen && - message && {message} - } + {message && {message}} @@ -184,7 +182,12 @@ const MTOHome = () => { )} - {currentView === 'milestones' && } + {currentView === 'milestones' && ( + <> + + + + )} ); diff --git a/src/features/ModelPlan/ModelToOperations/_components/Table/index.tsx b/src/features/ModelPlan/ModelToOperations/_components/Table/index.tsx index 985c06efb2..5965f0c0c7 100644 --- a/src/features/ModelPlan/ModelToOperations/_components/Table/index.tsx +++ b/src/features/ModelPlan/ModelToOperations/_components/Table/index.tsx @@ -25,7 +25,6 @@ import { getHeaderSortIcon } from 'utils/tableSort'; import MTOOptionsPanel from '../OptionPanel'; -import MTOTableActions from './Actions'; import { ActionMenu, CategoryType, @@ -493,7 +492,6 @@ const MTOTable = () => { return ( <> -