Merge branch 'dev' of bitbucket.org:autodrilling/asb_cloud_front into dev

This commit is contained in:
Александр Сироткин 2022-01-31 09:30:05 +05:00
commit 439df9401a
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import { AdminDepositService } from '../../services/api'
import { arrayOrDefault } from '../../utils'
import { min1 } from '../../utils/validationRules'
export const coordsFixed = (coords) => coords?.toPrecision(10)
export const coordsFixed = (coords) => coords && isFinite(coords) ? (+coords).toPrecision(10) : '-'
const depositColumns = [
makeColumn('Название', 'caption', { width: 200, editable: true, formItemRules: min1 }),

View File

@ -106,7 +106,7 @@ export const WellController = () => {
const recordParser = (record) => ({
...record,
idTelemetry: record.telemetry.id,
idTelemetry: record.telemetry?.id,
})
const handlerProps = {