add idWell into every child page

This commit is contained in:
Фролов 2021-08-13 10:31:42 +05:00
parent e6f2c9f517
commit 6657e0fa83

View File

@ -90,28 +90,28 @@ export default function Well() {
<WellStat idWell={idWell}/>
</Route>
<Route path="/well/:id/archive">
<Archive/>
<Archive idWell={idWell}/>
</Route>
<Route path="/well/:id/message">
<Messages/>
<Messages idWell={idWell}/>
</Route>
<Route path="/well/:id/report">
<Report/>
<Report idWell={idWell}/>
</Route>
<Route path="/well/:id/analysis">
<Analysis idWell={idWell}/>
</Route>
<Route path="/well/:id/wellAnalysis">
<WellAnalysis/>
<WellAnalysis idWell={idWell}/>
</Route>
<Route path="/well/:id/telemetry">
<TelemetryView idWell={idWell}/>
</Route>
<Route path="/well/:id/documents">
<MenuDocuments/>
<MenuDocuments idWell={idWell}/>
</Route>
<Route path="/well/:id/smbo">
<Smbo/>
<Smbo idWell={idWell}/>
</Route>
<Route path="/">
<Redirect to={{pathname: `${rootPath}/telemetry`}}/>