forked from ddrilling/asb_cloud_front
Исправлена конфигурация запроса при редактировании режимов бурения
This commit is contained in:
parent
88fc1bf09f
commit
7f1160587c
@ -67,7 +67,9 @@ export const WellDrillParams = memo(() => {
|
|||||||
service: DrillParamsService,
|
service: DrillParamsService,
|
||||||
setLoader: setShowLoader,
|
setLoader: setShowLoader,
|
||||||
onComplete: updateParams,
|
onComplete: updateParams,
|
||||||
permission: 'DrillParams.edit'
|
permission: 'DrillParams.edit',
|
||||||
|
idWell,
|
||||||
|
idRecord: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@ -75,7 +77,7 @@ export const WellDrillParams = memo(() => {
|
|||||||
edit: { ...handlerProps, action: 'update', actionName: 'Редактирование режима бурения', recordParser },
|
edit: { ...handlerProps, action: 'update', actionName: 'Редактирование режима бурения', recordParser },
|
||||||
delete: { ...handlerProps, action: 'delete', actionName: 'Удаление режима бурения', permission: 'DrillParams.delete' },
|
delete: { ...handlerProps, action: 'delete', actionName: 'Удаление режима бурения', permission: 'DrillParams.delete' },
|
||||||
}
|
}
|
||||||
}, [updateParams, recordParser])
|
}, [idWell, updateParams, recordParser])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<LoaderPortal show={showLoader}>
|
<LoaderPortal show={showLoader}>
|
||||||
|
Loading…
Reference in New Issue
Block a user