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,
|
||||
setLoader: setShowLoader,
|
||||
onComplete: updateParams,
|
||||
permission: 'DrillParams.edit'
|
||||
permission: 'DrillParams.edit',
|
||||
idWell,
|
||||
idRecord: true,
|
||||
}
|
||||
|
||||
return {
|
||||
@ -75,7 +77,7 @@ export const WellDrillParams = memo(() => {
|
||||
edit: { ...handlerProps, action: 'update', actionName: 'Редактирование режима бурения', recordParser },
|
||||
delete: { ...handlerProps, action: 'delete', actionName: 'Удаление режима бурения', permission: 'DrillParams.delete' },
|
||||
}
|
||||
}, [updateParams, recordParser])
|
||||
}, [idWell, updateParams, recordParser])
|
||||
|
||||
return (
|
||||
<LoaderPortal show={showLoader}>
|
||||
|
Loading…
Reference in New Issue
Block a user