forked from ddrilling/asb_cloud_front
Исправлено отображение конструкции секций на новом режиме скважины
This commit is contained in:
parent
d415dbedc2
commit
600c752675
@ -14,7 +14,7 @@ export const makeSelectColumn = <T extends unknown = string>(
|
||||
...other,
|
||||
input: <Select options={options} {...selectOther}/>,
|
||||
render: (value) => {
|
||||
const item = options?.find(option => option?.value === value)
|
||||
const item = options?.find(option => String(option?.value) === String(value))
|
||||
return other?.render?.(item?.value) ?? item?.label ?? defaultValue ?? value ?? '--'
|
||||
}
|
||||
})
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { memo, useCallback, useEffect, useState } from 'react'
|
||||
import { Button, Modal, Popconfirm, Tooltip } from 'antd'
|
||||
import { Button, Modal, Popconfirm } from 'antd'
|
||||
|
||||
import { useIdWell } from '@asb/context'
|
||||
import { Table } from '@components/Table'
|
||||
|
Loading…
Reference in New Issue
Block a user