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/>}/>
|
icon={<CloseCircleOutlined/>}/>
|
||||||
</span>)
|
</span>)
|
||||||
:(<span>
|
:(<span>
|
||||||
<Button
|
{onRowEdit&&<Button
|
||||||
disabled={editingKey !== ''}
|
disabled={editingKey !== ''}
|
||||||
onClick={() => edit(record)}
|
onClick={() => edit(record)}
|
||||||
icon={<EditOutlined/>}/>
|
icon={<EditOutlined/>}/>}
|
||||||
{onRowDelete&&
|
{onRowDelete&&
|
||||||
<Popconfirm title="Удалить?" onConfirm={()=>deleteRow(record)}>
|
<Popconfirm title="Удалить?" onConfirm={()=>deleteRow(record)}>
|
||||||
<Button icon={<DeleteOutlined/>}/>
|
<Button icon={<DeleteOutlined/>}/>
|
||||||
|
Loading…
Reference in New Issue
Block a user