Исправлена конфигурация запроса при редактировании режимов бурения

This commit is contained in:
goodmice 2022-06-15 13:58:08 +05:00
parent 88fc1bf09f
commit 7f1160587c

View File

@ -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}>