forked from ddrilling/asb_cloud_front
Закоментирована кнопка дублирования скважины, раскоментирована кнопка смены пароля
This commit is contained in:
parent
e533d48179
commit
19afed9c4f
@ -162,7 +162,7 @@ export default function UserController() {
|
|||||||
onRowAdd={makeActionHandler('insert', handlerProps)}
|
onRowAdd={makeActionHandler('insert', handlerProps)}
|
||||||
onRowEdit={makeActionHandler('update', handlerProps)}
|
onRowEdit={makeActionHandler('update', handlerProps)}
|
||||||
onRowDelete={makeActionHandler('delete', handlerProps)}
|
onRowDelete={makeActionHandler('delete', handlerProps)}
|
||||||
// additionalButtons={additionalButtons}
|
additionalButtons={additionalButtons}
|
||||||
buttonsWidth={120}
|
buttonsWidth={120}
|
||||||
pagination={{ defaultPageSize: 14 }}
|
pagination={{ defaultPageSize: 14 }}
|
||||||
/>
|
/>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Button, Select } from 'antd'
|
import { Button, Select } from 'antd'
|
||||||
import { ForkOutlined } from '@ant-design/icons'
|
import { CopyOutlined } from '@ant-design/icons'
|
||||||
import { memo, useEffect, useState } from 'react'
|
import { memo, useEffect, useState } from 'react'
|
||||||
|
|
||||||
import LoaderPortal from '../../components/LoaderPortal'
|
import LoaderPortal from '../../components/LoaderPortal'
|
||||||
@ -65,7 +65,7 @@ export default function WellController() {
|
|||||||
|
|
||||||
const addititonalButtons = (record, editingKey) => (
|
const addititonalButtons = (record, editingKey) => (
|
||||||
<Button
|
<Button
|
||||||
icon={<ForkOutlined />}
|
icon={<CopyOutlined />}
|
||||||
title={'Дублировать скважину'}
|
title={'Дублировать скважину'}
|
||||||
disabled={(editingKey ?? '') !== ''}
|
disabled={(editingKey ?? '') !== ''}
|
||||||
onClick={() => duplicateWell(record)}
|
onClick={() => duplicateWell(record)}
|
||||||
@ -135,7 +135,7 @@ export default function WellController() {
|
|||||||
onRowAdd={makeActionHandler('insert', handlerProps)}
|
onRowAdd={makeActionHandler('insert', handlerProps)}
|
||||||
onRowEdit={makeActionHandler('update', handlerProps)}
|
onRowEdit={makeActionHandler('update', handlerProps)}
|
||||||
onRowDelete={makeActionHandler('delete', handlerProps)}
|
onRowDelete={makeActionHandler('delete', handlerProps)}
|
||||||
additionalButtons={addititonalButtons}
|
//additionalButtons={addititonalButtons}
|
||||||
buttonsWidth={95}
|
buttonsWidth={95}
|
||||||
/>
|
/>
|
||||||
</LoaderPortal>
|
</LoaderPortal>
|
||||||
|
Loading…
Reference in New Issue
Block a user