diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/InflowStructure/index.tsx b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/InflowStructure/index.tsx
index 57402941a3..d5f38785b8 100644
--- a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/InflowStructure/index.tsx
+++ b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/InflowStructure/index.tsx
@@ -10,7 +10,6 @@ import {
} from "./utils";
import NumberFE from "../../../../../../../common/fieldEditors/NumberFE";
import { SubmitHandlerPlus } from "../../../../../../../common/Form/types";
-import { Box } from "@mui/material";
import { useTranslation } from "react-i18next";
function InflowStructure() {
@@ -31,48 +30,37 @@ function InflowStructure() {
////////////////////////////////////////////////////////////////
return (
- getInflowStructureFields(study.id, areaId),
}}
+ onSubmit={handleSubmit}
+ miniSubmitButton
+ enableUndoRedo
+ sx={{ display: "flex", alignItems: "center", ".Form__Footer": { p: 0 } }}
>
-
-
+ {({ control }) => (
+
+ )}
+
);
}
diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/SplitHydroMatrix.tsx b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/SplitHydroMatrix.tsx
index 685ef372ad..484ad0a87e 100644
--- a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/SplitHydroMatrix.tsx
+++ b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Hydro/SplitHydroMatrix.tsx
@@ -1,3 +1,4 @@
+import { Box } from "@mui/material";
import SplitView, { SplitViewProps } from "../../../../../../common/SplitView";
import HydroMatrix from "./HydroMatrix";
import { HydroMatrixType } from "./utils";
@@ -12,7 +13,11 @@ interface Props {
function SplitHydroMatrix({ types, direction, sizes, form: Form }: Props) {
return (
<>
- {Form &&
}
+ {Form && (
+
+
+
+ )}