forked from ddrilling/asb_cloud_front
fix EditableTable Edit button visibility
This commit is contained in:
parent
73d59ae03d
commit
29537b8d5a
@ -143,10 +143,10 @@ export const EditableTable = ({
|
||||
icon={<CloseCircleOutlined/>}/>
|
||||
</span>)
|
||||
:(<span>
|
||||
<Button
|
||||
{onRowEdit&&<Button
|
||||
disabled={editingKey !== ''}
|
||||
onClick={() => edit(record)}
|
||||
icon={<EditOutlined/>}/>
|
||||
icon={<EditOutlined/>}/>}
|
||||
{onRowDelete&&
|
||||
<Popconfirm title="Удалить?" onConfirm={()=>deleteRow(record)}>
|
||||
<Button icon={<DeleteOutlined/>}/>
|
||||
|
Loading…
Reference in New Issue
Block a user