删除协作者
This commit is contained in:
parent
f8b9003e15
commit
e469ddae24
|
@ -223,7 +223,7 @@ function CollaboratorMember({projectsId,owner,project_id,author,showNotification
|
|||
render: (text, item) => (
|
||||
<span style={{ justifyContent: "center" }}>
|
||||
{author && author.login !== item.login && (
|
||||
<Popconfirm title="确认将此成员从项目中移除?" okText="是" cancelText="否" onOk={() => deleteUser(item.id)}>
|
||||
<Popconfirm title="确认将此成员从项目中移除?" okText="是" cancelText="否" onConfirm={() => deleteUser(item.id)}>
|
||||
<a className="text-delete">删除</a>
|
||||
</Popconfirm>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue