diff --git a/src/pages/WellOperations/WellDrillParams.jsx b/src/pages/WellOperations/WellDrillParams.jsx index da06a75..2ee9f7e 100755 --- a/src/pages/WellOperations/WellDrillParams.jsx +++ b/src/pages/WellOperations/WellDrillParams.jsx @@ -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 (