+
+
+
+ Due to changes made to the project specifications, one or more TDM
+ strategies are no longer applicable and have been automatically
+ de-selected
+
+
+
+
+
+
+ );
+};
+
+InapplicableStrategiesModal.propTypes = {
+ inapplicableStrategiesModal: PropTypes.bool.isRequired,
+ closeStrategiesModal: PropTypes.func
+};
+
+export default InapplicableStrategiesModal;
diff --git a/client/src/components/ProjectWizard/TdmCalculationWizard.js b/client/src/components/ProjectWizard/TdmCalculationWizard.js
index 17f6110f..292b194e 100644
--- a/client/src/components/ProjectWizard/TdmCalculationWizard.js
+++ b/client/src/components/ProjectWizard/TdmCalculationWizard.js
@@ -8,6 +8,7 @@ import CalculationWizardRoutes from "./CalculationWizardRoutes";
import WizardFooter from "./WizardFooter";
import WizardSidebar from "./WizardSidebar/WizardSidebar";
import ContentContainer from "../Layout/ContentContainer";
+import InapplicableStrategiesModal from "../InapplicableStrategiesModal";
const TdmCalculationWizard = props => {
const {
@@ -37,7 +38,9 @@ const TdmCalculationWizard = props => {
dateModified,
contentContainerRef,
checklistModalOpen,
- toggleChecklistModal
+ toggleChecklistModal,
+ inapplicableStrategiesModal,
+ closeStrategiesModal
} = props;
const context = useContext(ToastContext);
const page = Number(match.params.page || 1);
@@ -170,6 +173,10 @@ const TdmCalculationWizard = props => {
return (