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)}
|
||||
onRowEdit={makeActionHandler('update', handlerProps)}
|
||||
onRowDelete={makeActionHandler('delete', handlerProps)}
|
||||
// additionalButtons={additionalButtons}
|
||||
additionalButtons={additionalButtons}
|
||||
buttonsWidth={120}
|
||||
pagination={{ defaultPageSize: 14 }}
|
||||
/>
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Button, Select } from 'antd'
|
||||
import { ForkOutlined } from '@ant-design/icons'
|
||||
import { CopyOutlined } from '@ant-design/icons'
|
||||
import { memo, useEffect, useState } from 'react'
|
||||
|
||||
import LoaderPortal from '../../components/LoaderPortal'
|
||||
@ -65,7 +65,7 @@ export default function WellController() {
|
||||
|
||||
const addititonalButtons = (record, editingKey) => (
|
||||
<Button
|
||||
icon={<ForkOutlined />}
|
||||
icon={<CopyOutlined />}
|
||||
title={'Дублировать скважину'}
|
||||
disabled={(editingKey ?? '') !== ''}
|
||||
onClick={() => duplicateWell(record)}
|
||||
@ -135,7 +135,7 @@ export default function WellController() {
|
||||
onRowAdd={makeActionHandler('insert', handlerProps)}
|
||||
onRowEdit={makeActionHandler('update', handlerProps)}
|
||||
onRowDelete={makeActionHandler('delete', handlerProps)}
|
||||
additionalButtons={addititonalButtons}
|
||||
//additionalButtons={addititonalButtons}
|
||||
buttonsWidth={95}
|
||||
/>
|
||||
</LoaderPortal>
|
||||
|
Loading…
Reference in New Issue
Block a user