forked from ddrilling/asb_cloud_front
Merge branch 'dev' of bitbucket.org:autodrilling/asb_cloud_front into dev
This commit is contained in:
commit
439df9401a
@ -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 }),
|
||||
|
@ -106,7 +106,7 @@ export const WellController = () => {
|
||||
|
||||
const recordParser = (record) => ({
|
||||
...record,
|
||||
idTelemetry: record.telemetry.id,
|
||||
idTelemetry: record.telemetry?.id,
|
||||
})
|
||||
|
||||
const handlerProps = {
|
||||
|
Loading…
Reference in New Issue
Block a user