Название страницы исправлено

This commit is contained in:
goodmice 2021-10-12 11:15:45 +05:00
parent f9271b0f46
commit b6b7a0bc43
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import { dictionarySectionType, getByKeyOrReturnKey } from './dictionary'
const basePageSize = 160; const basePageSize = 160;
export const WellOpeationsModes = ({idWell}) => { export const WellOpeationsParams = ({idWell}) => {
const [pageNumAndPageSize, setPageNumAndPageSize] = useState({current:1, pageSize:basePageSize}) const [pageNumAndPageSize, setPageNumAndPageSize] = useState({current:1, pageSize:basePageSize})
const [paginationTotal, setPaginationTotal] = useState(0) const [paginationTotal, setPaginationTotal] = useState(0)
const [params, setParams] = useState([]) const [params, setParams] = useState([])

View File

@ -56,7 +56,7 @@ export default function WellOperations({idWell}) {
<WellOperationsEditor idWell={idWell} idType={1}/> <WellOperationsEditor idWell={idWell} idType={1}/>
</Route> </Route>
<Route path={`${rootPath}/modes`}> <Route path={`${rootPath}/modes`}>
<WellOpeationsModes idWell={idWell}/> <WellOpeationsParams idWell={idWell}/>
</Route> </Route>
<Route path={rootPath}> <Route path={rootPath}>
<Redirect to={`${rootPath}/plan`}/> <Redirect to={`${rootPath}/plan`}/>