Добалено отображение выбранной вкладки в операциях по скважине

This commit is contained in:
goodmice 2021-10-12 17:08:04 +05:00
parent 57c6859386
commit 3f06e0ed3c
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ export default function Well() {
<Route path="/well/:idWell/report">
<Report idWell={idWell} />
</Route>
<Route path="/well/:idWell/operations">
<Route path="/well/:idWell/operations/:tab?">
<WellOperations idWell={idWell} />
</Route>
<Route path="/well/:idWell/archive">

View File

@ -36,7 +36,7 @@ export default function WellOperations({idWell}) {
<Menu.Item key="fact" icon={<FolderOutlined />}>
<Link to={`${rootPath}/fact`}>Факт</Link>
</Menu.Item>
<Menu.Item key={'modes'} icon={<FolderOutlined />}>
<Menu.Item key="params" icon={<FolderOutlined />}>
<Link to={`${rootPath}/params`}>Режимы</Link>
</Menu.Item>
<ImportExportBar idWell={idWell} onImported={onImported}/>